PDA

View Full Version : [SOLVED] Bash script to switch filename around



firebird_1979
January 30th, 2011, 06:18 AM
I was wondering if anyone knows how to do this in Bash:

I have quite a few music files which have names like this:
"SONGNAME -- ARTIST.EXTENTION"

All my music is named "ARTIST - SONGNAME.EXTENTION"

I have been looking for a program or bash script that would fix this automatically, but I can't find anything that will do this. Do any of you people have a suggestion, or a script laying around?

Tried pyRenamer, and it does a lot of things, except this...

Bonster
January 30th, 2011, 03:34 PM
Use easytag program, it has the filerenamer ur looking for

firebird_1979
January 30th, 2011, 06:41 PM
Thanks Bonster!

I had to fiddle with EasyTAG (2.1.6) for a bit before I figured out how it worked, but it does exactly what I wanted!

I had been trying to come up with a solution for this for over 4 month's, this is awesome!