Page 1 of 1

Matching file naming formats

PostPosted: 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.

Re: Matching file naming formats

PostPosted: 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.