How to extract RAR using unrar despite checksum error

Problem

You want to extract a RAR archive using unrar x myarchive.rar, but you get the following error message:

unrar_output.txt
...
myfile.png - checksum error
...
Total errors: 1

Solution

Use the -kb flag to ignore checksum errors:

example.sh
unrar x -kb myarchive.rar

This will extract the archive despite the checksum error.

Note that the file with the checksum error might be corrupted, but it will still be extracted correctly.


Check out similar posts by category: Linux