Music file combining track number and track name

Bulk Rename Utility How-To's

Music file combining track number and track name

Postby MrBigSky » Wed Oct 28, 2020 7:40 pm

Hi
I've read the manual and can do most of this, but not all so would be very grateful for some help. I have the following naming convention for some music files:

Artist - Album - Track number - Track title.wav

eg
Bryan Ferry - The Ultimate Collection - 01 - Let's Stick Together.wav
Bryan Ferry - The Ultimate Collection - 02 - The 'In' Crowd.wav
Bryan Ferry - The Ultimate Collection - 03 - He'll Have to Go.wav

I want to move them into a standard directory structure
Artist/Album/##. Track title.wav

so that I end up with:
Bryan Ferry/The Ultimate Collection/01. Let's Stick Together.wav
Bryan Ferry/The Ultimate Collection/02. The 'In' Crowd.wav
Bryan Ferry/The Ultimate Collection/03. He'll Have to Go.wav

I think I can do the directory creation, the problem I am having is replacing the last "space and hyphen" (and only the last hyphen) with a full-stop. Is there a way of selecting the last occurrence of the hyphen, or the hyphen that always follows two digits?

Thanks, the guys doing the support on here are great. I have no doubt you can help but my brain is about to explode!
MrBigSky
 
Posts: 2
Joined: Wed Oct 28, 2020 7:27 pm

Re: Music file combining track number and track name

Postby Luuk » Thu Oct 29, 2020 8:51 am

Greetings MrBigSky, Im think there can be many ways with the Regex(1), but this way I do it..
Match
%1 - %2 - %3 - %4
Replace
%1\%2\%3. %4

Then to put checkmark in v2, and the renames can be like your explanation.
Luuk
 
Posts: 693
Joined: Fri Feb 21, 2020 10:58 pm

Re: Music file combining track number and track name

Postby MrBigSky » Thu Oct 29, 2020 11:11 am

Thank-you Luuk, that is very helpful. I also had to tick "simple" but then it worked perfectly. Now you have explained it I have gone back to the manual and read some more and this RegEx feature seems much clearer. I am very grateful for your assistance. Have a great day!
MrBigSky
 
Posts: 2
Joined: Wed Oct 28, 2020 7:27 pm

Re: Music file combining track number and track name

Postby Luuk » Thu Oct 29, 2020 3:03 pm

My apologies, Im meant put the checkmark in simple, not v2. The v2 is much harder, lol. Its good you solved it.
Luuk
 
Posts: 693
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To