Also skip folders containing 'archive' in path
This commit is contained in:
@@ -72,6 +72,6 @@ Found: C:\Patients\abc\Patient\Export\.
|
||||
### Notes
|
||||
|
||||
- Uses `pushd`/`popd` to work around Windows' 260-character path length limit
|
||||
- Skips any folder whose path contains `PT STMT` so already-archived folders are never re-processed
|
||||
- Skips any folder whose path contains `PT STMT` or `archive` so already-processed folders are never re-processed
|
||||
- Safe to re-run — `mkdir` for the dated folder will silently skip if it already exists
|
||||
- Date format is `YYYYMMDD` (e.g. `20260423`)
|
||||
|
||||
Reference in New Issue
Block a user