From 0a043dbb7259cc59ac56b31573469f445a7921ed Mon Sep 17 00:00:00 2001 From: mono-b Date: Sun, 18 Dec 2022 23:00:24 -0300 Subject: up --- mp3ogg.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 mp3ogg.sh (limited to 'mp3ogg.sh') diff --git a/mp3ogg.sh b/mp3ogg.sh new file mode 100755 index 0000000..704d754 --- /dev/null +++ b/mp3ogg.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +for file in *.mp3; do + OUTPUT=${file%.mp3} + echo $OUTPUT + ffmpeg -i "$file" "$OUTPUT.ogg" +done + +printf "\n¿Borrar archivos originales? (s / n) " +read respuesta + +case $respuesta in +s) + rm -f *.mp3 ;; +esac -- cgit v1.2.1