1ZIPMERGE(1) BSD General Commands Manual ZIPMERGE(1)
2
4 zipmerge — merge zip archives
5
7 zipmerge [-DhIiSsV] target-zip source-zip [source-zip ...]
8
10 zipmerge merges the source zip archives source-zip into the target zip
11 archive target-zip. By default, files in the source zip archives over‐
12 write existing files of the same name in the target zip archive.
13
14 Supported options:
15
16 -D Ignore directory components in file name comparisons. This option
17 is slow for archives with many files.
18
19 -h Display a short help message and exit.
20
21 -I Ignore case in file name comparisons This option is slow for ar‐
22 chives with many files.
23
24 -i Ask before overwriting files. See also -s.
25
26 -k Do not compress files that were uncompressed in source-zip, other‐
27 wise they are compressed with the default compression method.
28
29 -S Do not overwrite files that have the same size and CRC32 in both the
30 source and target archives.
31
32 -s When -i is given, do not ask before overwriting files that have the
33 same size and CRC32.
34
35 -V Display version information and exit.
36
38 zipmerge exits 0 on success and >1 if an error occurred.
39
41 zipcmp(1), ziptool(1), libzip(3)
42
44 zipmerge was added in libzip 0.6.
45
47 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
48
50 zipmerge uses one open file descriptor per zip archive. If you need to
51 merge a lot of zip archives, check your shell's file descriptor ulimit
52 and either increase it or run zipmerge multiple times with e.g. 1000
53 source zip archives each time.
54
55BSD December 5, 2022 BSD