Skip to content

Instantly share code, notes, and snippets.

@randynobx
Created March 12, 2015 02:55
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 randynobx/bf9b62549728df0ce7f3 to your computer and use it in GitHub Desktop.
Save randynobx/bf9b62549728df0ce7f3 to your computer and use it in GitHub Desktop.
Bulk conversion of .m4a files in a directory to mp3 files, using ffmpeg.
for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 "${f%.m4a}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment