diff --git a/scripts/postTreatmentAudible.sh b/scripts/postTreatmentAudible.sh index db2c95b..788e691 100755 --- a/scripts/postTreatmentAudible.sh +++ b/scripts/postTreatmentAudible.sh @@ -2,7 +2,11 @@ set -euo pipefail /sync/scripts/escapeFilenames.sh . _ +declare -a dirs=(); for d in *; do + dirs+=($d); +done +for d in "${dirs[@]}"; do cd "$d"; /sync/scripts/escapeFilenames.sh Chapter Kapitel /sync/scripts/reencode_m4a.sh -map;