Skip to content

Instantly share code, notes, and snippets.

@zacs
Created April 23, 2016 20:02
Show Gist options
  • Save zacs/eef2bdd9df6028da3692dd5580ae1c8f to your computer and use it in GitHub Desktop.
Save zacs/eef2bdd9df6028da3692dd5580ae1c8f to your computer and use it in GitHub Desktop.
FLAC to 320CBR MP3
for a in *.flac; do
ffmpeg -i "$a" -ab 320k -map_metadata 0 -id3v2_version 3 "${a[@]/%flac/mp3}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment