@ -0,0 +1,20 @@
#!/bin/bash
for d in ./*; do
if [ -d "$d" ]; then
f=${d:2}
cd "$d"
echo ${f}.mp3
mp3cat -c 1 ./* -o "${f}.mp3"
mv "${f}.mp3" ../
cd ..
# echo $f
# echo $d
# cd "$d"
# ls
# cd ..
# echo "$d"
fi
done
#mp3cat -c 1 ./* -o name.mp3