diff options
Diffstat (limited to 'oggmp3.sh')
-rwxr-xr-x | oggmp3.sh | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -6,10 +6,6 @@ for file in *.ogg; do ffmpeg -i "$file" "$OUTPUT.mp3" done -printf "\n¿Borrar archivos originales? (s / n) " -read respuesta -if [ $respuesta = "s" ] ; then - rm -f *.ogg -else - echo > /dev/null -fi +printf "\nDelete original files? (y / n) " +read answer +[[ $answer == "y" ]] && rm -f *.ogg || echo > /dev/null |