I have a large mp3 collection in one folder, i would like to organize them by artist, i found this script on the internet.
http://blog.jardas.de/2005/07/13/mp3...rize-script-2/
It says if it doesnt work, to "concatenating lines ending with a backslash" I do not know how to do this, any help would great. thanks
this is the error message i am getting
"Can't find string terminator '"' anywhere before EOF at -e line 2."
#!/bin/bash
find . -maxdepth 1 -name '*.mp3' -type f -exec perl -e \
'$f=$a=$ARGV[0]; $a=~s/^\.\/(.*)\s+-\s+.*$/$1/;\
print \"$a\n\"; mkdir $a; rename($f, \"$a/$f\");' \
'{}' \;