Sort files based on file name pattern?

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

Moderator: Mr_Noodle

Sort files based on file name pattern? Wed Oct 14, 2015 10:33 am • by rfbriggs
Hello, I have the following situation...

I have MANY folders for my work, one folder for each client, and probably something like 200 clients. I would like to name my files something like "client->" + the name of the client, which matches the folder name.

With so many folders, it's not possible for me to have a rule for each client folder for sorting. Is it possible for Hazel to look at what comes after "client->" take everything until it hits a hyphen, and use that to sort the file into the appropriate folder?

Thanks.
rfbriggs
 
Posts: 6
Joined: Tue Mar 15, 2011 9:47 pm

Re: Sort files based on file name pattern? Wed Oct 14, 2015 1:44 pm • by Mr_Noodle
Should be doable. Search the help for "match patterns".
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Sort files based on file name pattern? Wed Oct 14, 2015 2:43 pm • by rfbriggs
Mr_Noodle wrote:Should be doable. Search the help for "match patterns".


Got to the section on custom tokens, totally solved the problem!

Thanks.
rfbriggs
 
Posts: 6
Joined: Tue Mar 15, 2011 9:47 pm


Return to Support