script for editing audible audio books post decrypt
This commit is contained in:
14
scripts/postTreatmentAudible.sh
Executable file
14
scripts/postTreatmentAudible.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
/sync/scripts/escapeFilenames.sh . _
|
||||||
|
for d in *; do
|
||||||
|
cd "$d";
|
||||||
|
/sync/scripts/escapeFilenames.sh Chapter Kapitel
|
||||||
|
/sync/scripts/reencode_m4a.sh -map;
|
||||||
|
rm *.m4a;
|
||||||
|
mv * "../${d}_reencode";
|
||||||
|
cd ..;
|
||||||
|
rmdir "$d"
|
||||||
|
mv "${d}_reencode" "$d";
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user