"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.6.0/man/zipcmp.html" (24 Jan 2020, 5370 Bytes) of package /linux/misc/libzip-1.6.0.tar.xz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the libzip-1.6.0.tar.xz project site itself.

ZIPCMP(1) General Commands Manual ZIPCMP(1)

compare contents of zip archives

zipcmp [-hipqtVv] 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:

Display a short help message and exit.
Compare names ignoring case distinctions.
Enable paranoid checks. Compares extra fields and other meta data. (Automatically disabled if one of the archives is a directory.)
Quiet mode. Compare -v.
Test zip files by comparing the contents to their checksums.
Display version information and exit.
Verbose 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 <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
December 18, 2017 NetBSD 9.99.41