"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/man/zipcmp.mdoc" (12 Mar 2019, 2925 Bytes) of package /linux/misc/libzip-1.5.2.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "zipcmp.mdoc": 1.5.1_vs_1.5.2.

    1 .\" zipcmp.mdoc -- compare zip archives
    2 .\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner
    3 .\"
    4 .\" This file is part of libzip, a library to manipulate ZIP archives.
    5 .\" The authors can be contacted at <libzip@nih.at>
    6 .\"
    7 .\" Redistribution and use in source and binary forms, with or without
    8 .\" modification, are permitted provided that the following conditions
    9 .\" are met:
   10 .\" 1. Redistributions of source code must retain the above copyright
   11 .\"    notice, this list of conditions and the following disclaimer.
   12 .\" 2. Redistributions in binary form must reproduce the above copyright
   13 .\"    notice, this list of conditions and the following disclaimer in
   14 .\"    the documentation and/or other materials provided with the
   15 .\"    distribution.
   16 .\" 3. The names of the authors may not be used to endorse or promote
   17 .\"    products derived from this software without specific prior
   18 .\"    written permission.
   19 .\"
   20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
   21 .\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   22 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
   24 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
   26 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   27 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
   28 .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
   29 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
   30 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   31 .\"
   32 .Dd December 18, 2017
   33 .Dt ZIPCMP 1
   34 .Os
   35 .Sh NAME
   36 .Nm zipcmp
   37 .Nd compare contents of zip archives
   38 .Sh SYNOPSIS
   39 .Nm
   40 .Op Fl hipqtVv
   41 .Ar archive1 archive2
   42 .Sh DESCRIPTION
   43 .Nm
   44 compares the zip archives or directories
   45 .Ar archive1
   46 and
   47 .Ar archive2
   48 and checks if they contain the same files, comparing their names,
   49 uncompressed sizes, and CRCs.
   50 File order and compressed size differences are ignored.
   51 .Pp
   52 Supported options:
   53 .Bl -tag -width MMM
   54 .It Fl h
   55 Display a short help message and exit.
   56 .It Fl i
   57 Compare names ignoring case distinctions.
   58 .It Fl p
   59 Enable paranoid checks.
   60 Compares extra fields and other meta data.
   61 (Automatically disabled if one of the archives is a directory.)
   62 .It Fl q
   63 Quiet mode.
   64 Compare
   65 .Fl v .
   66 .It Fl t
   67 Test zip files by comparing the contents to their checksums.
   68 .It Fl V
   69 Display version information and exit.
   70 .It Fl v
   71 Verbose mode.
   72 Print details about differences to stdout.
   73 (This is the default.)
   74 .El
   75 .Sh EXIT STATUS
   76 .Nm
   77 exits 0 if the two archives contain the same files, 1 if they differ,
   78 and >1 if an error occurred.
   79 .Sh SEE ALSO
   80 .Xr zipmerge 1 ,
   81 .Xr ziptool 1 ,
   82 .Xr libzip 3
   83 .Sh HISTORY
   84 .Nm
   85 was added in libzip 0.6.
   86 .Sh AUTHORS
   87 .An -nosplit
   88 .An Dieter Baron Aq Mt dillo@nih.at
   89 and
   90 .An Thomas Klausner Aq Mt tk@giga.or.at