From 3a7a92ddc5536280177f47bd09767b0036309495 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 25 Jan 2017 22:22:45 +0100 Subject: [PATCH] Update convert_to_ogg.sh --- convert_to_ogg.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/convert_to_ogg.sh b/convert_to_ogg.sh index 557cc55..564eb9b 100644 --- a/convert_to_ogg.sh +++ b/convert_to_ogg.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" ./output/"${FILENAME%.*}.ogg" + ffmpeg -i "$FILENAME" "${FILENAME%.*}.ogg" shift cd - done