in fact, for anyone else... the script would be something like this (not
tested it yet)

for file in *.jpg
do
ARTIST=${file#.*-}
ALBUM=${file%-.*}
mkdir $ARTIST
mkdir $ARTIST/$ALBUM
mv $file $ARTIST/$ALBUM/cover.jpg
done


-- 
wilgartw
------------------------------------------------------------------------
wilgartw's Profile: http://forums.slimdevices.com/member.php?userid=19007
View this thread: http://forums.slimdevices.com/showthread.php?t=51628

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to