Rename Pairs *but only partial* file names

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Rename Pairs *but only partial* file names

Postby tal1997 » Sat Jan 23, 2021 9:00 pm

Hey all,

BRU is super awesome and helpful. Thank you so much.
I have found an 'almost' solution to my problem, but it's not exactly what I need.

So as everyone says nowadays, here's the deal:

I have a bunch of folders with files that are currently named:

In folder No. 1
Example_1-01.jpg
Example_1-02.jpg
Example_1-03.jpg
.....

In folder No. 2
Example_2-01.jpg
Example_2-02.jpg
Example_2-03.jpg
...
And it goes on, and I want the file names to replace the last number only, leaving the "Example_1" or "Example_2" as it is now, meaning the new files will be:
Example_1-New1
Example_1-New2
Example_1-New3
Example_2-New1
Example_2-New2
Example_2-New3
An so on..

I understood I can make a txt. file with Rename Pairs (with "|" between file names), but from what I undestand and experience, it can't *replace parts of a file name*, but replaces the *whole file name*
I would like to have something that can understand and replace only part of the name, so that I can tell it to replace "-01" with "New1", "-02" with "New2" and so on.. (Instead of having to write "Example_1", "Example_2", "Example_3" each one separately).

Is there a way to do this?

Thank you so much!
tal1997
 
Posts: 1
Joined: Sat Jan 23, 2021 8:35 pm

Re: Rename Pairs *but only partial* file names

Postby Luuk » Sun Jan 24, 2021 3:11 am

Greetings tal1997. Yes the "Rename Pairs" does only conduct against the whole filenames, but there is also "Character Translations" and Replace(3) and RegEx(1) to conduct only parts of the filenames..

With "Character Translations", this the format, but replaces many -01, not just the last one...
-,0,1=-,N,e,w,1
-,0,2=-,N,e,w,2
-,0,3=-,N,e,w,3

With Replace(3), this the "Replace/With" format to replace only the very last one...
\last\-01|-02|-03
-New1|-New2|-New3

With RegEx(1) and checkmark in "v2", this the "Match/Replace" format to replace only at the ending of filename...
-0(\d)$
-New$1
Luuk
 
Posts: 318
Joined: Fri Feb 21, 2020 10:58 pm

Re: Rename Pairs *but only partial* file names

Postby Admin » Sun Jan 24, 2021 3:50 am

wow! Luuk 8)
Admin
Site Admin
 
Posts: 2058
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support