zipcmp - compare contents of zip archives
zipcmp [-hipqtVv] archive1 archive2
ZIPCMP(1) BSD General Commands Manual ZIPCMP(1)
NAME
zipcmp -- compare contents of zip archives
SYNOPSIS
zipcmp [-hipqtVv] archive1 archive2
DESCRIPTION
zipcmp compares the zip archives or directories archive1 and archive2 and
checks if they contain the same files, comparing their names, uncom-
pressed sizes, and CRCs. File order and compressed size differences are
ignored.
Supported options:
-h Display a short help message and exit.
-i Compare names ignoring case distinctions.
-p Enable paranoid checks. Compares extra fields and other meta data.
(Automatically disabled if one of the archives is a directory.)
-q Quiet mode. Compare -v.
-t Test zip files by comparing the contents to their checksums.
-V Display version information and exit.
-v Verbose mode. Print details about differences to stdout. (This is
the default.)
EXIT STATUS
zipcmp exits 0 if the two archives contain the same files, 1 if they dif-
fer, and >1 if an error occurred.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------+
|Availability | compress/libzip |
+---------------+------------------+
|Stability | Volatile |
+---------------+------------------+
SEE ALSO
zipmerge(1), ziptool(1), libzip(3)
HISTORY
zipcmp was added in libzip 0.6.
AUTHORS
Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
NOTES
Source code for open source software components in Oracle Solaris can be
found at https://www.oracle.com/downloads/opensource/solaris-source-code-
downloads.html.
This software was built from source available at https://github.com/ora-
cle/solaris-userland. The original community source was downloaded from
https://libzip.org/download/libzip-1.7.3.tar.gz.
Further information about this software can be found on the open source
community website at https://libzip.org/.
BSD December 18, 2017 BSD