Skip to content

Instantly share code, notes, and snippets.

@josby
Last active May 7, 2017 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josby/bc1e5e976d6804e856004b42c7edf103 to your computer and use it in GitHub Desktop.
Save josby/bc1e5e976d6804e856004b42c7edf103 to your computer and use it in GitHub Desktop.
Encode list of m4a files to mp3 using ffmpeg
for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment