Batch convert wav files to mp3 in OSX using Terminal

for file in *.wav; do lame -V2 "$file" "${file%.wav}".mp3; done

Higher values of the -V* parameter will reduce the quality and decrease the file size of the mp3 files. Make sure lame is installed.

Leave a comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.