zombietextures/sounds/flactoogg.sh

9 lines
162 B
Bash
Raw Normal View History

#!/bin/bash
find . -type f -name '*.flac' -exec bash -c '
for file; do
ffmpeg -i "$file" -c:a libvorbis -b:a 128k "${file%.flac}.ogg";
done
' bash {} +