1ZCK(1) BSD General Commands Manual ZCK(1)
2
4 zck — compress a file using the zchunk format
5
7 zck [-D file | --dict=file] [-m chunk | --manual=chunk]
8 [-o file | --output=file] [-s string | --split=string]
9 [-v | --verbose] file
10 zck -? | --help | --usage | --version
11
13 The zck utility creates a new zchunk file from the data in the specified
14 input file.
15
16 NOTE: If no output file is specified using the -o option, the zck utility
17 will place the new file with the .zck extension in the current working
18 directory, not in the directory where the original file resides.
19
20 The zck utility accepts the following optional arguments:
21
22 -D, --dict
23 Set the zstd compression dictionary to the specified file.
24
25 -m, --manual
26 Do not do any automatic chunking (implies -s).
27
28 -o, --output
29 Output to the specified file.
30
31 -s, --split
32 Split chunks at the beginning of the specified string.
33
34 -v, --verbose
35 Verbose operation; display some diagnostic output.
36
37 -?, --help
38 Display program usage information and exit.
39
40 --usage
41 Display brief program usage information and exit.
42
43 --version
44 Display program version information and exit.
45
47 The zck utility exits 0 on success, and >0 if an error occurs.
48
50 Create (in the current directory) a zchunk-compressed words.zck file from
51 a dictionary:
52
53 zck /usr/share/dict/words
54
55 The same, but specify an output file:
56
57 zck -o /tmp/words.txt.zck /usr/share/dict/words
58
59 Generate a zchunk file with chunks separated on HTML sections:
60
61 zck -s '<h2>' doc.html
62
64 unzck(1), zck_delta_size(1), zck_gen_zdict(1), zck_read_header(1),
65 zckdl(1)
66
68 The zck utility was written by Jonathan Dieter <jdieter@gmail.com>. This
69 manual page stub was written by Peter Pentchev <roam@ringlet.net>.
70
71BSD May 31, 2020 BSD