how to reverse a name based upon a dash

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

how to reverse a name based upon a dash

Postby heartradiousa » Thu Mar 01, 2018 11:46 pm

i have the following file names i need to make batch changes to 12. Back To Me-Bebo Norman-myself when i am real.mp3
where the dash is i need it to delete the 3rd field which is the album name and reverse the second field so it reads like this
Bebo Norman-Back To Me.mp3 how can i accomplish this, i have roughly 2500 mp3 tracks i have to do this to.

thanks
nickwww.heartradiousa.org
heartradiousa
 
Posts: 19
Joined: Thu Mar 01, 2018 11:38 pm

Re: how to reverse a name based upon a dash

Postby Emerkamp » Fri Mar 02, 2018 12:08 pm

Hi,

(1.)
Code: Select all
Match:
^(.*)-(.*)-(.*)
Replace:
\2-\1


Make sure match is grouping in the right order. if not we'll need to add the .extension
Emerkamp
 
Posts: 140
Joined: Sat Aug 23, 2014 2:35 pm

Re: how to reverse a name based upon a dash

Postby heartradiousa » Fri Mar 02, 2018 7:36 pm

what fields need to be checked and does this information need to go into
heartradiousa
 
Posts: 19
Joined: Thu Mar 01, 2018 11:38 pm

Re: how to reverse a name based upon a dash

Postby Emerkamp » Fri Mar 02, 2018 9:08 pm

(1.) Regex

just check to see if final rename is correct, before pushing rename button.
it will be grabbing your removed words if wrong, it might try to start from the end of line. ^ means start at front, so double check it is
Emerkamp
 
Posts: 140
Joined: Sat Aug 23, 2014 2:35 pm

Re: how to reverse a name based upon a dash

Postby Johnny27 » Mon Sep 10, 2018 8:03 pm

Emerkamp: Thanks for this! Just saved me many hours with almost the same requirements! :!:
Johnny27
 
Posts: 9
Joined: Sat Sep 02, 2017 10:55 pm


Return to BRU Support