First... here are the folders I want to work with:
"Dropbox/ScannerPro"
"Dropbox/In Production/####-Project Name/####-Inbox"
"Dropbox/General/Unprocessed Receipts"
"Trash"
In the second one "####" = the actual project number and the "In Production" folder has a bunch of these folders/subfolders in there.
I want Hazel to watch the folder "Dropbox/ScannerPro" and do the following:
If filename starts with 1401
Copy the file to the "Unprocessed Receipts" folder
Copy the file to the appropriate project inbox based on the number... in this case "1401-Inbox"
Move original file in "ScannerPro" to the trash.
or
If filename starts with 1423
Copy the file to the "Unprocessed Receipts" folder
Copy the file to the appropriate project inbox based on the number... in this case "1423-Inbox"
Move original file in "ScannerPro" to the trash.
And so on.
Basically, I want to be able to "scan" receipts and other docs with the iPhone app ScannerPro, rename the file to begin with the appropriate project number and upload to Dropbox/ScannerPro. I want everything from there automated using Hazel.
I want Hazel to copy the file to the "Unprocessed Receipts" for my bookkeeper to have and then another copy automatically into the appropriate project inbox based on the starting project number in the filename. Then I wanna keep the ScannerPro folder tidy by deleting the original file.
I also want it to ignore any file that doesn't start with a four digit number.
And... I'd rather do this with one or two rules instead of 20+... I'd rather not have one rule for each project.
Is there way to use *'s as wildcards or some other script that would work?
Any help would be great. Thanks!