[Gllug] Swapping two parts of a filename...

Dylan dylan at dylan.me.uk
Wed Jun 2 21:59:19 UTC 2004


Hi All,

I have a bunch of mp3's with filenames like:

Track Name - Artist Name.mp3

which I'd really rather like as

Artist Name - Track Name.mp3

Is there an easy way to accomplish this? I also need to handle cases 
where the track name or artist name contains a hyphen (in which case, 
it would have a non-space character on each side.)

Cheers
Dylan

-- 
"I see your Schwartz is as big as mine" 
                                  -Dark Helmet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list