Sorting To Subfolders - naming with year token

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

Moderator: Mr_Noodle

Sorting To Subfolders - naming with year token Wed Apr 08, 2015 1:24 pm • by dorich
My question concerns the name of subfolders when using "Sort into subfolders".
In the initial conditions I'm intending to capture the year from the file name. This appears to work correctly but when I add the sort into subfolders with the intention of naming the new subfolders with the year what I get is the current full date - thus instead of 2015 I get 2015-04-08.
Am I writing my rule incorrectly or is something else amiss?

Thanks.

Image
dorich
 
Posts: 11
Joined: Thu Apr 02, 2015 3:10 pm

When you capture a date, even if it's a partial date, you get a full date in the end. Hazel will fill in the missing parts with the current date. If you only want the year to be output, you need to edit the date format in the action to only show the year.
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thx
dorich
 
Posts: 11
Joined: Thu Apr 02, 2015 3:10 pm


Return to Support