Convert directory of FLAC to MP3 using Lame

how to convert a directory of wav, flac, etc into mp3

Go into the directory of the files you want to convert then run the following, assuming they are all FLAC files:
ls -1 *.flac | xargs -I{} lame -q0 -V1 {} {}.mp3