Page 1 of 1

quick way to replace space with "_" sign in mp3?

Posted: Thu Sep 24, 2015 12:29 pm
by samgarca856
HI,

many of my files start with a tracknumer then a space then the title or artist.
02 2Pac all eyez on me.mp3
Is there a quick way to replace the space with "_" sign in the whole filename?
There's a script in Godfather script opting that divides track number from title.

But I want to replace it with lower dash, so I can use "_" as a separator and tag the files later correctly with %F1%, %F2% etc.
e.g
02_Negativ_Dingen gedaan_feat._C-Ronic.mp3
this way C-Ronic will not be divided and I could later rename the files quicker.

thank you

Re: quick way to replace space with "_" sign in mp3?

Posted: Thu Sep 24, 2015 2:43 pm
by jtclipper
If you just want to replace all spaces with _ then you can create a replacement matrix and include it in your workflow, the matrix will just need to replace ' ' with '_' (don't use the quotes).
In any other case regex can be used, (for example you want to replace the first space only)

Re: quick way to replace space with "_" sign in mp3?

Posted: Thu Sep 24, 2015 2:55 pm
by samgarca856
thank you , will do it this way from now on.

What does REGex do exactly? and Case option?

So i know in the future to select or not select it.

Re: quick way to replace space with "_" sign in mp3?

Posted: Thu Sep 24, 2015 3:38 pm
by jtclipper
'Regex' will use regular expressions http://perldoc.perl.org/perlre.html
'Case' will use case sensitive search and replace