Skip to content

Instantly share code, notes, and snippets.

@lopezpdvn
Created May 26, 2016 23:09
Show Gist options
  • Save lopezpdvn/f83112e070e3c9e791e170059a41cd7c to your computer and use it in GitHub Desktop.
Save lopezpdvn/f83112e070e3c9e791e170059a41cd7c to your computer and use it in GitHub Desktop.
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