Skip to content

Instantly share code, notes, and snippets.

Created February 14, 2015 16:45
Show Gist options
  • Save anonymous/4fc5e3aaf2b35ec16bd9 to your computer and use it in GitHub Desktop.
Save anonymous/4fc5e3aaf2b35ec16bd9 to your computer and use it in GitHub Desktop.
ConvertFlacToMp3WithFFMPEG.sh
find -type f -name "*.flac" -print0 | while read -d $'\0' a; do
< /dev/null ffmpeg -i "$a" -qscale:a 0 "${a[@]/%flac/mp3}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment