Skip to content

Instantly share code, notes, and snippets.

@jacobh
Created January 22, 2014 05:29
Show Gist options
  • Save jacobh/8553897 to your computer and use it in GitHub Desktop.
Save jacobh/8553897 to your computer and use it in GitHub Desktop.
for WAV_FILE in `ls | grep .wav`
do
MP3_FILE=`echo $WAV_FILE | sed s/.wav/.mp3/`
if [ ! -f $MP3_FILE ]
then
lame -q0 -V0 $WAV_FILE $MP3_FILE
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment