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