Matching file naming formats

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

Moderator: Mr_Noodle

Matching file naming formats Wed Dec 11, 2024 2:39 pm • by ishiiboy
I have files and folders contained in a parent folder. My file structure is:

Home - 2024 - 12 - December
--12-10-2024
----Screen 1
----Screen 2
--12-11-2024
----Screen 1
----Screen 2
--2024-12-10_00-57-05_display1.mov >> should go in 12-10-2024/Screen 1
--2024-12-10_00-57-05_display2.mov >> should go in 12-10-2024/Screen 2
--2024-12-11_00-57-05_display1.mov >> should go in 12-11-2024/Screen 1
--2024-12-11_00-57-05_display2.mov >> should go in 12-11-2024/Screen 2
--etc.

I would like to create a Hazel rule that monitors any parent folder (In this case: Home - 2024 - 12 - December) for new .mov files and have Hazel automatically put them in the correct Screen folder corresponding to the folder with the matching date.

In my actual workflow, there are 24 .mov files per display that I need to move every day. Any guidance would be greatly appreciated.
ishiiboy
 
Posts: 1
Joined: Wed Dec 11, 2024 1:43 pm

Re: Matching file naming formats Thu Dec 12, 2024 9:47 am • by Mr_Noodle
Look up match patterns in the help. Using custom attributes, you can capture parts of the name then use them in a Sort into subfolder action.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support