Created
October 27, 2021 07:35
-
-
Save luckylittle/2db5215aaeea6cb8c521fb1305bcb0d5 to your computer and use it in GitHub Desktop.
Convert all M4A to MP3 using ffmpeg
This file contains 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/zsh | |
find . -type f -name '*.m4a' -execdir /bin/zsh -c '/usr/bin/ffmpeg -i $0 -c:v copy -c:a libmp3lame -q:a 4 ${0/m4a/mp3}' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment