Skip to content

Instantly share code, notes, and snippets.

@sirmews
Created January 2, 2018 05:55
Show Gist options
  • Save sirmews/fe46aef7fda3ff2c3c82cc474be40788 to your computer and use it in GitHub Desktop.
Save sirmews/fe46aef7fda3ff2c3c82cc474be40788 to your computer and use it in GitHub Desktop.
ffmpeg_convert_all_to_mp3
#!/bin/bash
for i in *.m4a; do
ffmpeg -i "$i" -codec:a libmp3lame -qscale:a 2 `basename "$i" .m4a`.mp3
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment