Skip to content

Command t (Test archive integrity)

Franco Corbelli edited this page Sep 2, 2023 · 1 revision

Check that all blocks are OK, and the CRC-32s of the individual files corresponds to what would be generated by actually extracting.
Please note: the l (list) against a directory is highly reliable

Examples

Switches

-all

Check every versions

-verify

Do a filesystem post-check: check that the STORED CRC will be the same of decompressed CRC, AND check against the original file readed again from filesystem, plus a double check for XXH3 (if any). Cannot do this extended check with standard 7.15 archive

-paranoid

With the new -paranoid switch now it is possible to extract all files (to a temporary directory), check the hashes, then delete all matching files. All files will be extracted in "plain" (no subdirs)-collisions free name convention (=> can test *nix files on Windows box), then all files will be checked and, if OK, deleted -verbose shows differences (otherwise only summary will be printed)
In summary if the destination folder, after paranoid verification, is empty, it means that all files were identical. If there are any files left, they are different than expected

Clone this wiki locally