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