This reference contains a switch to bypass the prompts. We can then analyze the output after based on some parsing to detect the CRC failure.
http://staff.uob.edu.bh/files/600435156_files/The_Comp_lab_5.pdfThe switch to look for is -yb.
There is also a -t switch to test the integrity of the file. But, that will still ask for a prompt.