logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zck — compress a file using the zchunk format

Author

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

Debian                                            May 31, 2020                                            ZCK(1)

Description

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

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

       The zck utility accepts the following optional arguments:

       -D, --dict
               Set the zstd compression dictionary to the specified file.

       -m, --manual
               Do not do any automatic chunking (implies -s).

       -o, --output
               Output to the specified file.

       -s, --split
               Split chunks at the beginning of the specified string.

       -v, --verbose
               Verbose operation; display some diagnostic output.

       -?, --help
               Display program usage information and exit.

       --usage
               Display brief program usage information and exit.

       --version
               Display program version information and exit.

Examples

       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

Exit Status

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

Name

       zck — compress a file using the zchunk format

See Also

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

Synopsis

zck   [-Dfile   |   --dict=file]   [-mchunk   |   --manual=chunk]   [-ofile   |   --output=file]
           [-sstring | --split=string] [-v | --verbose] filezck-? | --help | --usage | --version

See Also