Rename files removing a specific word

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

Moderator: Mr_Noodle

Rename files removing a specific word Sat Mar 05, 2022 2:13 pm • by Dominik
Dear all,

I'm trying to set a rule that renames all aliases in a folder removing the space and the "alias" part. Basically I want to transform "originalfilename alias.extension" into "originalfilename.extension". I guess that that patterns are the way to go, but I'm struggling to make it work the way I want. Every tip is highly appreciated.
Dominik
 
Posts: 1
Joined: Sat Mar 05, 2022 2:07 pm

Re: Rename files removing a specific word Mon Mar 07, 2022 9:53 am • by Mr_Noodle
Yes, you would use a match pattern. Create a pattern to match the first part of the name, like "(• main name) alias" where (• main name) is a custom attribute set to match "anything". You can then use that attribute in your Rename pattern.
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support