long story short:  I need a script to convert wav files to flac, while taking the file name (minus extension) to place in the song title tag of the flac file. I have about 1200 audio CDs that I decided to archive lossless on a terabyte drive.  Since there was plenty of room, I used k3b to rip them as wav files, thinking that would save a lot of time by skipping the compression step. Well, it did, but I had already ripped quite a few before I caught the error:  when I try to import them into a player like Rhythmbox, they don't have any tags (meta data) so it can't identify and sort them properly.  I've switched to ripping the rest to flac to avoid that problem, but I'd like to fix the error without going back and remounting all of those CDs again.  Any suggestions?
convert wav to flac with tags
conversion;flac;wav