Skip to content

Instantly share code, notes, and snippets.

@lopezpdvn
Created May 26, 2016 23:09
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
ffmpeg
for src in *flac; do
dst="$(echo $src | sed -e 's/\.flac//' -e 's/ /_/g')".mp3
ffmpeg -i "$src" -ab 320k "$dst"
operon clear -a "$dst"
operon copy "$src" "$dst"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment