Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ZIPCMP(1)		     General Commands Manual		       ZIPCMP(1)

NAME
     zipcmp -- compare contents of zip archives

SYNOPSIS
     zipcmp [-ChipqsTtVv] archive1 archive2

DESCRIPTION
     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:

     -C   Check  consistency of archives.  Results in an error if archive is in-
	  consistent or not valid according to the zip specification.

     -h   Display a short help message and exit.

     -i   Compare names ignoring case distinctions.

     -p   Enable paranoid checks.  Compares extra fields,  comments,  and  other
	  meta data.  (Automatically disabled if one of the archives is a direc-
	  tory.)  These checks are skipped for files where the data differs.

     -q   Quiet mode.  Compare -v.

     -s   Print a summary of how many files where added and removed.

     -T   Additionally compare the time stamps of the entries.

     -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.

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 <wiz@gatalith.at>

FreeBSD ports 15.quarterly	 March 15, 2024 		       ZIPCMP(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=zipcmp&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help