third_party/libzip/src/man/zipcmp.html
| ZIPCMP(1) | General Commands Manual | ZIPCMP(1) |
zipcmp — compare contents of zip archives
| zipcmp | [-ChipqsTtVv] archive1 archive2 |
zipcmp compares the zip archives or directories archive1 and archive2 and checks if they contain the same files, comparing their names, uncompressed sizes, and CRCs. File order and compressed size differences are ignored.
Supported options:
-CCheck consistency of archives. Results in an error if archive is inconsistent or not valid according to the zip specification.-hDisplay a short help message and exit.-iCompare names ignoring case distinctions.-pEnable paranoid checks. Compares extra fields, comments, and other meta data. (Automatically disabled if one of the archives is a directory.) These checks are skipped for files where the data differs.-qQuiet mode. Compare -v.-sPrint a summary of how many files where added and removed.-TAdditionally compare the time stamps of the entries.-tTest zip files by comparing the contents to their checksums.-VDisplay version information and exit.-vVerbose mode. Print details about differences to stdout. (This is the default.)
zipcmp exits 0 if the two archives contain the same files, 1 if they differ, and >1 if an error occurred.
zipmerge(1), ziptool(1), libzip(3)
zipcmp was added in libzip 0.6.
Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>
| March 15, 2024 | NiH |