Skip to content

Instantly share code, notes, and snippets.

@stratigos
Created November 12, 2015 14:17
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 stratigos/a57a93dd3cae1e8e1023 to your computer and use it in GitHub Desktop.
Save stratigos/a57a93dd3cae1e8e1023 to your computer and use it in GitHub Desktop.
Call a function to use lame to encode an entire directory of MP3s to ~200Kbps VBR
# lame encode mp3s in directory to ~200 kbs
function lamev2 { for f in *.mp3; do lame -h -V 2 "$f" tmp && mv tmp "$f"; done }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment