Created
September 17, 2021 23:52
-
-
Save tamoyal/a2fd3d76f6327d8e963f5136291c073d to your computer and use it in GitHub Desktop.
For batch converting aif to mp3 and keeping original filename
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
for f in *.aif; | |
do | |
ffmpeg -i "$f" -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 "${f%.aif}".mp3; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment