updated script for reorganizing folders to handle the weird nesting that FCCS does
This commit is contained in:
15
README.md
15
README.md
@@ -57,17 +57,22 @@ Parses the flat exported filenames and copies them into an organized structure:
|
||||
```
|
||||
output/
|
||||
01069_ABRAHAM, REBEKAH L./
|
||||
2025 Tax Documents/
|
||||
01069_ABRAHAM, REBEKAH L._2025 Tax Documents_03-03-2026_030126 E-mail re Tax Info.pdf
|
||||
Tax Documents/
|
||||
2025/
|
||||
01069_ABRAHAM, REBEKAH L._2025 Tax Documents_03-03-2026_030126 E-mail re Tax Info.pdf
|
||||
Billing & Invoices/
|
||||
2026/
|
||||
01069_ABRAHAM, REBEKAH L._2026 Billing & Invoices_030826 Invoice for 2025 Forms 1040...pdf
|
||||
UltraTax CS/
|
||||
12-31-2008/
|
||||
01069_ABRAHAM, REBEKAH L._UltraTax CS 12-31-2008_02-12-2009_2008 Form 1040 Filing Instructions.doc
|
||||
Permanent File/
|
||||
01069_ABRAHAM, REBEKAH L._Permanent File_02-24-2018_Driver's License.pdf
|
||||
UltraTax CS 12-31-2008/
|
||||
01069_ABRAHAM, REBEKAH L._UltraTax CS 12-31-2008_02-12-2009_2008 Form 1040 Filing Instructions.doc
|
||||
_unparsed/
|
||||
(files that couldn't be parsed go here for manual review)
|
||||
```
|
||||
|
||||
Exported filenames follow the format `{drawer_id}_{client_name}_{folder_name}_{creation_date}_{document_name}.ext`. The parser uses folder templates from `fccs_folders.txt` (with `YYYY` expanded via regex) and the creation date (`MM-DD-YYYY`) as anchors to reliably split the underscore-delimited fields. UltraTax CS folders are matched by a built-in pattern.
|
||||
Exported filenames follow the format `{drawer_id}_{client_name}_{folder_name}_{creation_date}_{document_name}.ext`. The parser uses folder templates from `fccs_folders.txt` (with `YYYY` expanded via regex) and the creation date (`MM-DD-YYYY`) as anchors to reliably split the underscore-delimited fields. Folder names are decomposed into nested paths that match the FCCS UI structure (e.g. `2025 Tax Documents` becomes `Tax Documents/2025/`). UltraTax CS folders are matched by a built-in pattern.
|
||||
|
||||
## Config Reference
|
||||
|
||||
|
||||
Reference in New Issue
Block a user