I have a large music library that is currently managed by iTunes in Windows. When I started out 5 or 6 years ago ripping my music to my PCs I had a fairly basic understanding of audio formats, and I somewhat arbitrarily chose to rip all my CDs into the WAV format. So now I have over 1 TB of music ripped in iTunes, and none of my files have metadata attached. (iTunes software stores the artist/song/etc. info in an XML file, so I have a reference, and the library is fine, works great in iTunes/Windows).
I've been using Ubuntu exclusively for almost a year now, and I want to convert my music library, which is currently spread out over 3 hard drives, to FLAC files w/ metadata, and move away from iTunes.
What's the most reliable/efficient way to convert all my WAV files across the hard drives to FLAC from the command line while retaining/adding metadata to the new FLAC files? There are just too many files to go through one album at a time. Is there any audio fingerprinting software out there that could find the metadata after the WAV > FLAC conversion? Should I try and reference the iTunes XML file or is that not necessary?