open your favorite text editor such as gedit or kate and copy the following into it
Code:
#!/bin/bash
for wavfile in ./*.wav
do
lame "$wavfile" "${wavfile/.wav}.mp3"
done
save the file as whatever you like in the directory where your music is saved
you then need to make the file executable by running
you may then double click the file and it will run