DOKK / manpages / debian 12 / zchunk / zck.1.en
ZCK(1) General Commands Manual ZCK(1)

zckcompress a file using the zchunk format

zck [-D file | --dict=file] [-m chunk | --manual=chunk] [-o file | --output=file] [-s string | --split=string] [-v | --verbose] file

zck -? | --help | --usage | --version

The zck utility creates a new zchunk file from the data in the specified input file.

If no output file is specified using the -o option, the zck utility will place the new file with the .zck extension in the working directory, not in the directory where the original file resides.

The zck utility accepts the following optional arguments:

, --dict
Set the zstd compression dictionary to the specified file.
, --manual
Do not do any automatic chunking (implies -s).
, --output
Output to the specified file.
, --split
Split chunks at the beginning of the specified string.
, --verbose
Verbose operation; display some diagnostic output.
-?, --help
Display program usage information and exit.
Display brief program usage information and exit.
Display program version information and exit.

The zck utility exits 0 on success, and >0 if an error occurs.

Create (in the current directory) a zchunk-compressed words.zck file from a dictionary:

zck /usr/share/dict/words

The same, but specify an output file:

zck -o /tmp/words.txt.zck /usr/share/dict/words

Generate a zchunk file with chunks separated on HTML sections:

zck -s '<h2>' doc.html

unzck(1), zck_delta_size(1), zck_gen_zdict(1), zck_read_header(1), zckdl(1)

The zck utility was written by Jonathan Dieter ⟨jdieter@gmail.com⟩. This manual page stub was written by Peter Pentchev ⟨roam@ringlet.net⟩.

May 31, 2020 Debian