Skip to content

Instantly share code, notes, and snippets.

@Swelly
Created April 8, 2014 21:19
Show Gist options
  • Save Swelly/10194209 to your computer and use it in GitHub Desktop.
Save Swelly/10194209 to your computer and use it in GitHub Desktop.
Bash script to convert .flac files to .mp3
(for FILE in *.flac ; do ffmpeg -i "$FILE" -f mp3 -ab 192000 "`basename "$FILE" .flac`.mp3" || break; done)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment