Skip to content

Instantly share code, notes, and snippets.

@pweinzettel
Forked from championofblocks/wav-mp3
Created August 28, 2020 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pweinzettel/7082cfd08555580d7abf42b5270dce3e to your computer and use it in GitHub Desktop.
Save pweinzettel/7082cfd08555580d7abf42b5270dce3e to your computer and use it in GitHub Desktop.
Command line bash to convert all wav to mp3
for i in *.wav; do test -f "${i%.wav}.mp3" || lame -b 320 -h "${i}" "${i%.wav}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment