replacing spaces with underscores in filename


#1

I'm pretty sure mp3tag is capable of this but I don't know how or haven't figured it out yet.

currently, my tag command goes like this:

$num(%track%,2)-%artist%-%title%

this makes the filename look like this:
01-artist name-song title.mp3
01-wierd al-white and nerdy.mp3

I would like it to be:
01-wierd_al-white_and_nerdy.mp3

can anyone help me out?

thanks in advance.


#2

Please have a look at the help next time. You can use $replace(%title%, ,_).