Copy files into dated folders and subfolders

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

Moderator: Mr_Noodle

Hi
My images are ordered on the disk in the following structure

Images/YYYY/MM/YYYYMMDD/image.CR2

I thought I could write a rule that would scan the CF card (EOS Digital) for new files, then copy them to the correct folder based on their Date Created - so as I write this, it should be...

Images/2014/05/20140501/_MG_1234.CR2

I have written a Hazel rule:
If "any" of the following conditions are met
"Kind" "is" "Canon Camera Raw File"

"Run rules on the folder contents"
"Copy" to folder "Images" (don't copy if duplicate)
"Sort into subfolder" with pattern "date created" (YYYY/MM)/"date created" (YYYYMMDD)

It doesn't work and I assume it is because of the last line, where I am trying to put the files in sub-sub folders. Is my syntax woefully out?

TIA

Richard
methodphoto
 
Posts: 2
Joined: Thu May 01, 2014 11:58 am

Please read the sticky article up top about going into subfolders. The way you have it now matches the example of how not to do it in that article.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Do you mean about the multiple filetypes?

I managed to get the copying into subfolders working by using the "date created▸date created▸date created" pattern (hadn't spotted the ▸ symbol)

And it works on an SD card of Raw files, so I'll separate the rules and create one for JPG files as well.

Thank you
methodphoto
 
Posts: 2
Joined: Thu May 01, 2014 11:58 am

The "Run on folder contents" only applies to folders. You can't match a file then use that action. You are mixing logic for files and folders, basically.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support