I would like to produce (nearly) perfect FLAC files by verifying/checking all conversion steps. I'm hoping to do this in a single command, although a short bash script would be acceptable as a second choice.
I am on Kubuntu 12.04 and I installed flac 1.2.1.
Here is my starting point:
find ~/Music -type f -iname "*.wav" | while read fn; do flac --keep-foreign-metadata --ogg --verify "$fn"; done
How can I improve this?
If shntool
is recommended, how would I include it?
How would I include checksum comparisons?
How can I make FLAC test the integrity of each file?
A working example is appreciated.
BTW, I took a look at perfect-flac-encode, but it is too complicated for me. I don't even fully understand the first sentence of the project's description! The installation steps also look too complex. If there is a similar project that might fit my needs, please let me know.