Skip to content

Instantly share code, notes, and snippets.

@kdisneur
Last active December 14, 2015 19:39
Show Gist options
  • Save kdisneur/5138400 to your computer and use it in GitHub Desktop.
Save kdisneur/5138400 to your computer and use it in GitHub Desktop.
flac2mp3 - find all flac in your directory and sub directories and convert them to mp3.
find . -iname '*.flac' -exec sh -c 'flac -c -d "{}" | lame -h -m s -b 192 - "$(dirname "{}")/$(basename "{}" .flac).mp3"' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment