Renaming files to text string between two words

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

Moderator: Mr_Noodle

Renaming files to text string between two words Mon Dec 18, 2023 10:02 am • by samcg
Hello,

I need to rename a batch of files to fit with a string between two words. The number of words between the two delimiting words can vary. Is there a way of getting Hazel to rename to all the words between 'Reference: [string] Post:'?

Thanks for your help
samcg
 
Posts: 11
Joined: Mon Mar 06, 2023 6:23 am

How about a pattern like 'Reference: (• my custom attribute) Post:' where •my custom attribute is a custom attribute you create to match (anything)?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

That worked! Thank you :D
samcg
 
Posts: 11
Joined: Mon Mar 06, 2023 6:23 am


Return to Support