Rename MP3 filenames with Lastname, Firstname

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

Rename MP3 filenames with Lastname, Firstname

Postby TheMusicMan » Tue Aug 08, 2017 3:41 pm

Hi,

I am very new to this program and I'm already finding it fantastic.

I would like to find out how I could load a selection of files and only change those that are seperated with a comma. All files are sepperated with a "space - space" As in Artist - Title.mp3, obviously the amount of words vary also.

So, if there is a comma in the "Artist" part of the file name, I want to move the word after it, to the start of the name and remove the comma, however many names are in the "Artist"

The examples below should give you an idea of my situation. I hope that someone here can give me some idea of how to do this.

42nd St. - Lullabye Of Broadway.mp3 *__Should be__* 42nd St. - Lullabye Of Broadway.mp3
Mann, Manfred - Do Wah Diddy.mp3 *__Should be__* Manfred Mann - Do Wah Diddy.mp3
Bryan Adams - Everything I Do.mp3 *__Should be__* Bryan Adams - Everything I Do.mp3
KITTEN, ATOMIC - ETERNAL FLAME.mp3 *__Should be__* ATOMIC KITTEN - ETERNAL FLAME.mp3
BILLIE PIPER - SHE WANTS YOU.mp3 *__Should be__* BILLIE PIPER - SHE WANTS YOU.mp3
ANDREWS SISTERS, THE - BOOGIE WOOGIE BUGLE BOY.mp3 *__Should be__* THE ANDREWS SISTERS - BOOGIE WOOGIE BUGLE BOY.mp3
TheMusicMan
 
Posts: 1
Joined: Tue Aug 08, 2017 3:04 pm

Re: Rename MP3 filenames with Lastname, Firstname

Postby Emerkamp » Wed Aug 09, 2017 7:52 am

Hi,

Try This:
RegEx: (1)
Code: Select all
Match:
(.*), (.*) - (.*)
Replace:
\2 \1 - \3


This should only affect filenames with a comma in the name.
Emerkamp
 
Posts: 114
Joined: Sat Aug 23, 2014 2:35 pm


Return to BRU Support