add audible convert to original m4b script
This commit is contained in:
parent
6356b3e8a4
commit
fa8624d586
1 changed files with 18 additions and 0 deletions
18
audible_convert_to_m4b.sh
Executable file
18
audible_convert_to_m4b.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
read -p "Wie heißen die activation_bytes? : " code
|
||||
|
||||
while (( "$#" ))
|
||||
do
|
||||
|
||||
cd "${1%/*}" # gehe ins Verzeichnis
|
||||
|
||||
FILENAME=${1##*/} # Dateiname ist alles ab dem letzten '/'
|
||||
echo "$FILENAME"
|
||||
# guck dir die Ausgabe erstmal an - wenn alles passt kannst Du das "echo" weglassen
|
||||
ffmpeg -activation_bytes $code -i "$FILENAME" -vn -c:a copy "${FILENAME%.*}.m4b"
|
||||
shift
|
||||
cd -
|
||||
done
|
||||
|
||||
#audible_convert_to_m4b.sh code <Ordner>/*.m4b
|
Loading…
Reference in a new issue