Page 1 of 1

Sort files based on file name pattern?

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

Re: Sort files based on file name pattern?

PostPosted: Wed Oct 14, 2015 1:44 pm
by Mr_Noodle
Should be doable. Search the help for "match patterns".

Re: Sort files based on file name pattern?

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