zipcmp (1) - Linux Manuals

zipcmp: compare contents of zip archives

NAME

zipcmp - compare contents of zip archives

SYNOPSIS

zipcmp [-hiqVv] zip1 zip2

DESCRIPTION

zipcmp compares the zip archives zip1 and zip2 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:

-h
Display a short help message and exit.
-i
Compare names ignoring case distinctions.
-q
Quiet mode. Compare -v.
-v
Verbose mode. Print details about differences to stdout. (This is the default.)
-V
Display version information and exit.

EXIT STATUS

zipcmp exits 0 if the two zip archives contain the same files, 1 if they differ, and >1 if an error occurred.

AUTHORS

Dieter Baron <dillo [at] giga.or.at> and Thomas Klausner <tk [at] giga.or.at>

SEE ALSO

zipmerge(1), ziptorrent(1), libzip(3)