From a7ccfaf6e559924fdc964c2277030e59c5de5232 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 30 Mar 2022 23:48:04 +0200 Subject: [PATCH] =?UTF-8?q?Sch=C3=B6nheitsanpassungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audible_convert_to_ogg.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/audible_convert_to_ogg.sh b/audible_convert_to_ogg.sh index ba5cd6c..ba09584 100755 --- a/audible_convert_to_ogg.sh +++ b/audible_convert_to_ogg.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash -code="$1" -shift +read -p "Wie heißen die activation_bytes? : " code while (( "$#" )) do @@ -11,7 +10,7 @@ do 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 -n -c:a libvorbis -b:a 128k "${FILENAME%.*}.ogg" & + ffmpeg -activation_bytes $code -i "$FILENAME" -vn -n -c:a libvorbis -b:a 128k "${FILENAME%.*}.ogg" shift cd - done