Imported Upstream version 1.4.0
[platform/upstream/libzip.git] / man / zipmerge.man
1 .TH "ZIPMERGE" "1" "December 18, 2017" "NiH" "General Commands Manual"
2 .nh
3 .if n .ad l
4 .SH "NAME"
5 \fBzipmerge\fR
6 \- merge zip archives
7 .SH "SYNOPSIS"
8 .HP 9n
9 \fBzipmerge\fR
10 [\fB\-DhIiSsV\fR]
11 \fItarget-zip\fR
12 \fIsource-zip\fR\ [\fIsource-zip\ ...\fR]
13 .SH "DESCRIPTION"
14 \fBzipmerge\fR
15 merges the source zip archives
16 \fIsource-zip\fR
17 into the target zip archive
18 \fItarget-zip\fR.
19 By default, files in the source zip archives overwrite
20 existing files of the same name in the target zip archive.
21 .PP
22 Supported options:
23 .TP 5n
24 \fB\-D\fR
25 Ignore directory components in file name comparisons.
26 This option is slow for archives with many files.
27 .TP 5n
28 \fB\-h\fR
29 Display a short help message and exit.
30 .TP 5n
31 \fB\-I\fR
32 Ignore case in file name comparisons
33 This option is slow for archives with many files.
34 .TP 5n
35 \fB\-i\fR
36 Ask before overwriting files.
37 See also
38 \fB\-s\fR.
39 .TP 5n
40 \fB\-S\fR
41 Do not overwrite files that have the same size and
42 CRC32 in both the source and target archives.
43 .TP 5n
44 \fB\-s\fR
45 When
46 \fB\-i\fR
47 is given, do not before overwriting files that have the same size
48 and CRC32.
49 .TP 5n
50 \fB\-V\fR
51 Display version information and exit.
52 .SH "EXIT STATUS"
53 \fBzipmerge\fR
54 exits 0 on success and >1 if an error occurred.
55 .SH "SEE ALSO"
56 zipcmp(1),
57 ziptool(1),
58 libzip(3)
59 .SH "HISTORY"
60 \fBzipmerge\fR
61 was added in libzip 0.6.
62 .SH "AUTHORS"
63 Dieter Baron <\fIdillo@nih.at\fR>
64 and
65 Thomas Klausner <\fItk@giga.or.at\fR>