Check for and create folder

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Check for and create folder Thu Jun 09, 2016 2:41 am • by reagan9000
Hi - I manually download my bank statements, and have Hazel rename the file to have the statement date in the filename, then move the renamed file into bank statement folder.

I'd like to improve the rule so that it creates a subfolder named after the year if it doesn't exist, and then move the statement there instead. So:

downloads/statement.pdf --> Hazel rule --> bank_statements/2016/20160101-statement.pdf

Is this possible and if so, could you show me how?

Thanks
reagan9000
 
Posts: 6
Joined: Sat Jun 13, 2015 3:28 am

Re: Check for and create folder Thu Jun 09, 2016 6:25 am • by Dave61
reagan9000 wrote:Hi - I manually download my bank statements, and have Hazel rename the file to have the statement date in the filename, then move the renamed file into bank statement folder.

I'd like to improve the rule so that it creates a subfolder named after the year if it doesn't exist, and then move the statement there instead. So:

downloads/statement.pdf --> Hazel rule --> bank_statements/2016/20160101-statement.pdf

Is this possible and if so, could you show me how?

Thanks

Can you use the date created to get the year accurately? If so, I do something similar with photos, using the "Sort into subfolders" action and the date created to sort them into daily folders. There are lots of options to tweak the pattern to suit your needs.
Image
Dave61
 
Posts: 114
Joined: Tue Jul 10, 2012 4:56 pm


Return to Support