# rename "s/[!@#$%^&)|(-:;~><,{}'`?*A]/_/g" *.mp3
Rename all *.mp3 files in the current directory by replacing any “weird” characters with an underscore (rename is a great little utility that comes with many versions of Perl). NOTE: Make sure you use “-n” because I’m not positive that there aren’t any interactions of all these special characters between the shell and Perl, it *seems* to work correctly but …