subfolder sorting on file contents

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

Moderator: Mr_Noodle

subfolder sorting on file contents Thu Oct 15, 2015 1:12 pm • by SSL
Hi,
I am new to Hazel and just trying to wrap my head around dropping files into nested subfolders. I have been able to pull out the date on an invoice and used that to rename the file. Now I want to drop that into the correct subfolder.
My current folder tree is something like the following
Company XYZ (folder)
2014 (sub-folder)
Correspondence (sub-sub-folder)
Expenses (sub-sub-folder)
2015 (sub-folder)
Correspondence (sub-sub-folder)
Expenses (sub-sub-folder)

My date token knows the invoice is from 2015 but how do I direct it to drop it into the Expenses folder for 2015?
Thanks in advance!
Sean
SSL
 
Posts: 3
Joined: Thu Oct 15, 2015 1:01 pm

Re: subfolder sorting on file contents Fri Oct 16, 2015 1:32 pm • by Mr_Noodle
Use the Sort into subfolder action. There you can specify a pattern. Drop in the appropriate date attribute, click on it and then edit its format to only use the year.

BTW, when trying to indent stuff, use the code tag otherwise the formatting gets lost.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: subfolder sorting on file contents Fri Oct 16, 2015 5:12 pm • by SSL
Great, thanks for the tips!
SSL
 
Posts: 3
Joined: Thu Oct 15, 2015 1:01 pm


Return to Support