Renaming/Removing part of a filename

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

Moderator: Mr_Noodle

Renaming/Removing part of a filename Mon Mar 01, 2021 6:29 pm • by ResortCasual
All -

New to the community and using the product.

I am looking to set up a rule to rename files by removing part of the filename. I can do it using "replace text" but was wondering if there was a more elegant way to do it.

I have files like these...

My Sample File (1985)_T1.xxx
My Other Sample File (1999)_T3.xxx
My Third Sample File Redone (2005)_T28.xxx

I want to remove the part of the filename between the "_" and the file extension so that it would look like

My Sample File (1985).xxx
My Other Sample File (1999).xxx
My Third Sample File Redone (2005).xxx

Since the "_T##" is part of the filename, I was struggling with how to isolate just that part using attributes - if I even could - to use as part of a rename action.

Thanks for your help

RC
ResortCasual
 
Posts: 1
Joined: Mon Mar 01, 2021 4:46 pm

Re: Renaming/Removing part of a filename Tue Mar 02, 2021 11:48 am • by Mr_Noodle
Look up match patterns in the manual. You can create custom attributes to match the parts of the name you want to keep and use those in a Rename pattern.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support