Skip to content

Instantly share code, notes, and snippets.

@sk22
Created December 26, 2018 09:34
Show Gist options
  • Save sk22/354318b610a5fe79890d2bd992e9a51f to your computer and use it in GitHub Desktop.
Save sk22/354318b610a5fe79890d2bd992e9a51f to your computer and use it in GitHub Desktop.
// Linux:
clear; for f in *.flac; do ffmpeg -y -i "$f" -acodec libmp3lame -ab 320k "${f%.flac}.mp3"; done
// Windows:
forfiles /c "ffmpeg -y -i @file -map_metadata 0 -id3v2_version 3 -ab 320k @fname.mp3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment