blob: 31707472b75fe6bcc7ff72f90745ff83b0dbb479 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
for file in *.mp3; do
OUTPUT=${file%.mp3}
echo $OUTPUT
ffmpeg -i "$file" "$OUTPUT.ogg"
done
printf "\nDelete original files? (y / n) "
read answer
[[ $answer == "y" ]] && rm -f *.mp3
|