Please help a renaming problem

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

Moderator: Mr_Noodle

Please help a renaming problem 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.
beckham
 
Posts: 1
Joined: Thu Dec 14, 2017 1:42 pm

Re: Please help a renaming problem 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.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support