Skip to content

Instantly share code, notes, and snippets.

@rileynwong
Created February 11, 2025 10:53
Show Gist options
  • Save rileynwong/49df6d37e517d37c37b92bccd7eb702e to your computer and use it in GitHub Desktop.
Save rileynwong/49df6d37e517d37c37b92bccd7eb702e to your computer and use it in GitHub Desktop.
Convert flac to mp3. cd into a folder containing flac files and run:
for f in *.flac; do ffmpeg -i "$f" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.flac}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment