====== Linux wav2mp3 ====== from http://linuxpoison.blogspot.kr/2008/02/script-to-convert-wav-to-mp3.html #!/bin/sh # name of this script: wav2mp3.sh # wav to mp3 for i in *.wav; do if [ -e "$i" ]; then file=`basename "$i" .wav` lame -h -b 192 "$i" "$file.mp3" fi done