Using xargs would be nice, but you have to get the status of each file, and then conditionally perform some output. Have any way to do it without invoking (eg. exec'ing) a shell to perform the "flac OR print filename"?
Yes and that's required because you have used the -s option
What if you did not, and just piped the output to a txt file and then just grepped for a failure string. This way you also have a record of all files tested.
I had used something similar with mp3s, tho it was just limited to reading tags rather than integrity testing and wherever there was a failure the tool itself would inidcate which file had a problem. When i replaced with xargs i noticed a speedup anywhere from 1-5 times.
What matters in the end is whether it provides any speedup, i have a feeling that in this particular case, as you mentioned with testing times, maybe not