diff --git a/.config/scripts/mp3cat_all_subdirs.sh b/.config/scripts/mp3cat_all_subdirs.sh new file mode 100755 index 0000000..bec400d --- /dev/null +++ b/.config/scripts/mp3cat_all_subdirs.sh @@ -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