From f618b60d2e2a0cab33f8864fd42ab72328979757 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 25 Jan 2017 22:21:26 +0100 Subject: [PATCH] Add files via upload --- audible_convert_to_ogg_windows.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 audible_convert_to_ogg_windows.sh diff --git a/audible_convert_to_ogg_windows.sh b/audible_convert_to_ogg_windows.sh new file mode 100644 index 0000000..079d65d --- /dev/null +++ b/audible_convert_to_ogg_windows.sh @@ -0,0 +1,18 @@ +#!/bin/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.exe -activation_bytes $code -i "$FILENAME" "${FILENAME%.*}.ogg" + shift + cd - +done + +#convert.sh /*.flv