nsbin/mp3ver2file
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

21 lines
452 B
Bash
Executable file

#!/bin/sh
# Author: Nico Schottelius (nicos@pcsystems.de)
# Date: 30. May 2000
# Last Changed : 30. May 2000
# Comment: Move hallo/spencer.mp3 to hallo-spencer.mp3
# Comment: Attention : `mp3ver3file "dirs"` <-- quotes!
list=$@
for gruppen in $list
do
cd "$gruppen"
echo $gruppen
for lieder in *
do
# For testing purposes
#echo "$lieder" "../${gruppen}-${lieder}"
mv -- "$lieder" "../${gruppen}-${lieder}"
done
cd ..
done