Page 1 of 1

Please help a renaming problem

PostPosted: Tue Feb 26, 2019 3:57 am
by beckham
Hi, I am new to Hazel and I have a problem i can't get my head-on...
I have a folder with files using the following pattern "1234567_12_12345"
I want Hazel to watch this folder for new content and rename the files to just the first section i.e.: "1234567" removing the "_12_12345" example.
Any help would be greatly appreciated.

Re: Please help a renaming problem

PostPosted: Tue Feb 26, 2019 11:26 am
by Mr_Noodle
Search the help for "match patterns". You'll want to create a custom attribute to match the first part which you can then use in a Rename pattern. Give it a shot and report back if you get stuck on anything.