Rename Files but Keep some text?

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

Moderator: Mr_Noodle

Rename Files but Keep some text? Fri Dec 04, 2020 7:04 am • by jason2020
Hello! I'm new to Hazel and trying to sort some files out. Thanks in advance.

I have the following files name:

AliceRegan.jpg
Annaregan.jpg
Angela Marg Regan.jpg
Frank Harary.jpg

and would like to do some magic :)

Would like to see:

Regan Alice
Regan Anna
Regan Angela Marg

Is it possible?

I started with the following condition if Any Name Contains Regan.

After that I'm stuck :)

Thanks, Jason
jason2020
 
Posts: 1
Joined: Fri Dec 04, 2020 6:47 am

Re: Rename Files but Keep some text? Fri Dec 04, 2020 11:51 am • by Mr_Noodle
Look up "match patterns" in the manual. You should be able to use custom attributes for this.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support