You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
327 B
20 lines
327 B
#!/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
|