Convert wav to mp3 with Linux
So I’m converting my wav recordings of last night’s gig to mp3. Here’s a simple bash command line to convert all wav files in a the current directory to 192k MP3 files. The power of the command line on Linux and Unix-like systems is phenomenal. GUI’s are great but some things are so much quicker and easier on the command line.
for f in *.wav > do > new=`echo $f | sed s/wav/mp3/` > lame -b 192 "$f" MP3/"$f" > done
