From a22d2a3670a94fd6aa76fd2ba52b4d548cc91636 Mon Sep 17 00:00:00 2001 From: marc Date: Tue, 17 Mar 2020 12:01:28 +0100 Subject: [PATCH] merge only mp3, not other stuff in the folder --- .config/scripts/mp3cat_all_subdirs.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.config/scripts/mp3cat_all_subdirs.sh b/.config/scripts/mp3cat_all_subdirs.sh index bec400d..4562a8e 100755 --- a/.config/scripts/mp3cat_all_subdirs.sh +++ b/.config/scripts/mp3cat_all_subdirs.sh @@ -4,17 +4,9 @@ for d in ./*; do f=${d:2} cd "$d" echo ${f}.mp3 - mp3cat -c 1 ./* -o "${f}.mp3" + mp3cat -c 1 ./*.mp3 -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