1ZIPCMP(1) BSD General Commands Manual ZIPCMP(1)
2
4 zipcmp — compare contents of zip archives
5
7 zipcmp [-hipqtVv] archive1 archive2
8
10 zipcmp compares the zip archives or directories archive1 and archive2 and
11 checks if they contain the same files, comparing their names, uncom‐
12 pressed sizes, and CRCs. File order and compressed size differences are
13 ignored.
14
15 Supported options:
16
17 -h Display a short help message and exit.
18
19 -i Compare names ignoring case distinctions.
20
21 -p Enable paranoid checks. Compares extra fields and other meta data.
22 (Automatically disabled if one of the archives is a directory.)
23
24 -q Quiet mode. Compare -v.
25
26 -t Test zip files by comparing the contents to their checksums.
27
28 -V Display version information and exit.
29
30 -v Verbose mode. Print details about differences to stdout. (This is
31 the default.)
32
34 zipcmp exits 0 if the two archives contain the same files, 1 if they dif‐
35 fer, and >1 if an error occurred.
36
38 zipmerge(1), ziptool(1), libzip(3)
39
41 zipcmp was added in libzip 0.6.
42
44 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
45
46BSD December 18, 2017 BSD