From 66326b1621466920c09951aa5d5c36c1f5102176 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 25 Jan 2017 22:22:00 +0100 Subject: [PATCH] Update convert_to_audio.sh --- convert_to_audio.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/convert_to_audio.sh b/convert_to_audio.sh index 05be045..cc6ffbb 100644 --- a/convert_to_audio.sh +++ b/convert_to_audio.sh @@ -1,6 +1,5 @@ #!/bin/bash -mkdir ""$1"/output" while (( "$#" )) do @@ -9,7 +8,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 -i "$FILENAME" -vn ./output/"${FILENAME%.*}.ogg" + ffmpeg -i "$FILENAME" -vn "${FILENAME%.*}.ogg" shift cd - done