kaitz / paq8pxd

GNU General Public License v2.0
68 stars 7 forks source link

Feature Request: Verification #23

Closed nopeynope60 closed 2 years ago

nopeynope60 commented 2 years ago

A way to check archives without extracting them or somewhere along those lines.

The only way to verify the validity of an archive right now is to extract it and compare it to the original manually.

kaitz commented 2 years ago

Most data types are verified. Like SZDD compressed data is tested on detection time. Text transform is tested after detection. To be sure there are no other mistakes you need to test comparison after compression (level >0) or transform (level = 0). So i leave this as is.

nopeynope60 commented 2 years ago

Got a few questions for you. How often to you do deal with cached data? The data that is cached before it is written to the drive? How about bit flips or memory corruption or just strange issues in general that could affect the memory?

When I reported the Compact Disc corruption that it was by pure freak chance that I just so happened to have weird memory problems at the exact moment I was testing this stuff causing me to incorrectly report that one thing was wrong.

All the other archivers (7z, RAR, zpaq) have a verification switch. It would be nice if paq8pxd also had a verification switch too.

kaitz commented 2 years ago

When you provide archive on command line and source data is present it will compare to original data and report if not identical.