Created
March 19, 2017 00:40
-
-
Save Nezteb/7fc3828b61a6a3b533770851a4321ace to your computer and use it in GitHub Desktop.
Convert m4a files to mp3 files. Requires ffmpeg.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
// cd into a directory with m4a files | |
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