for file in *.WAV; do ffmpeg -i “$file” -i cover.png -disposition:v attached_art “$(basename “$file” .wav).flac”
(I’m doing this from memory, so I may have messed something up, but that’s the gist of it for taking a bunch of WAV files and turning them into FLACs with cover art. I also do a similar setup for combining the metadata of an MP3 and audio data of a WAV, since They Might Be Giants seems to have forgotten FLAC was invented.)