How do you mass rename files from the command line? I have a bunch of mp3's with filenames like:
I want to convert all the "_"(underscore) to " "(space). I tried:
$ for i in *; do mv "$i" `echo $i | tr '_' ' '`; done
but it complains that:
mv: target `name.mp3' is not a directory.
What am i doing wrong?