blob: 20e6f3ceebc0ea8b35f91dee969bf569bfb0ea8f [file] [log] [blame]
Thomas Klausner41f77502005-05-20 22:01:09 +00001.\" Converted with mdoc2man 0.2
Thomas Klausner05f69282007-06-06 22:47:11 +02002.\" from NiH: zipmerge.mdoc,v 1.5 2005/06/09 21:13:13 wiz Exp
3.\" $NiH: zipmerge.mdoc,v 1.5 2005/06/09 21:13:13 wiz Exp $
Thomas Klausner41f77502005-05-20 22:01:09 +00004.\"
5.\" zipmerge.mdoc \-- merge zip archives
Thomas Klausnere8b26942005-06-09 19:52:49 +00006.\" Copyright (C) 2004, 2005 Dieter Baron and Thomas Klausner
Thomas Klausner41f77502005-05-20 22:01:09 +00007.\"
8.\" This file is part of libzip, a library to manipulate ZIP archives.
9.\" The authors can be contacted at <nih@giga.or.at>
10.\"
11.\" Redistribution and use in source and binary forms, with or without
12.\" modification, are permitted provided that the following conditions
13.\" are met:
14.\" 1. Redistributions of source code must retain the above copyright
15.\" notice, this list of conditions and the following disclaimer.
16.\" 2. Redistributions in binary form must reproduce the above copyright
17.\" notice, this list of conditions and the following disclaimer in
18.\" the documentation and/or other materials provided with the
19.\" distribution.
20.\" 3. The names of the authors may not be used to endorse or promote
21.\" products derived from this software without specific prior
22.\" written permission.
23.\"
24.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
25.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
28.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
30.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
32.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
33.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
34.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\"
36.TH ZIPMERGE 1 "December 22, 2004" NiH
37.SH "NAME"
38zipmerge \- merge zip archives
39.SH "SYNOPSIS"
40.B zipmerge
41[\fB-DhIiSsV\fR]
42\fBtarget-zip\fR
43\fBsource-zip Op \fBsource-zip ...\fR\fR
44.SH "DESCRIPTION"
45.B zipmerge
46merges the source zip archives
47\fBsource-zip\fR
48into the target zip archive
49\fBtarget-zip.\fR
50By default, files in the source zip archives overwrite
51existing files of the same name in the target zip archive.
52.PP
53Supported options:
54.RS
55.TP 5
56\fB-D\fR
57Ignore directory components in file name comparisons.
58.TP 5
59\fB-h\fR
60Display a short help message and exit.
61.TP 5
62\fB-I\fR
63Ignore case in file name comparisons
64.TP 5
65\fB-i\fR
66Ask before overwriting files.
67See also
68\fB-s\fR.
69.TP 5
70\fB-S\fR
71Do not overwrite files that have the same size and
72CRC32 in both the source and target archives.
73.TP 5
74\fB-s\fR
75When
76\fB-i\fR
77is given, do not before overwriting files that have the same size
78and CRC32.
79.TP 5
80\fB-V\fR
81Display version information and exit.
82.RE
83.SH "EXIT STATUS"
84.B zipmerge
85exits 0 on success and \*[Gt]1 if an error code.
86.SH "SEE ALSO"
Thomas Klausner3dd81d82005-06-09 19:01:53 +000087zipcmp(1),
88libzip(3)
Thomas Klausner75330132005-06-17 12:59:06 +000089.SH "AUTHORS"
90
91Dieter Baron <dillo@giga.or.at>
92and
93Thomas Klausner <tk@giga.or.at>