mp3 to wav conversion

Looking to convert those "legally" purchased mp3 files to wav so you can play them in your boombox? Here's a handy dandy little shell script to facilitate the conversion process:

for i in *.mp3; do lame –decode $i `basename $i .mp3`.wav; done

The obvious usage: Navigate to the directory where your mp3 files are located. Run this script in the directory, and viola, all the mp3 files will be converted to wavs  with matching filenames and the .wav extension. Perfect for burning to CD! Do note that this requires lame and basename to execute properly. Enjoy those "legal" mp3s!