How to change the end of file names in bulk

Bulk Rename Utility How-To's

How to change the end of file names in bulk

Postby Dawnb88 » Tue May 07, 2024 9:13 pm

I want to change the names of these files at once:
Nell (1994)
Men in Black (1997)
Meg 2 The Trench (2023)

I want to add a -trailer after each ) so the file names would look like this:

Nell (1994)-trailer.mp4
Men in Black (1997)-trailer.mp4
Meg 2 The Trench (2023)-trailer.mp4 how would I need to do this.

I have all the videos I want to add the -trailer to in a folder called Trailers so that way there easier to find.

:?:
Dawnb88
 
Posts: 2
Joined: Wed Mar 13, 2024 2:10 am

Convert ending ")" --> ")-trailer"

Postby Luuk » Tue May 07, 2024 9:52 pm

To convert an ending parenthesis, can use Replace(3) with a "Replace" and "With" like...
\end\)
)-trailer

To only convert an ending (year), can use RegEx(1) with a "Match" and "Replace" like...
(.+\((19|20)\d\d\))$
\1-trailer
Luuk
 
Posts: 714
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To


cron