ZCK(1)

✨ ZCK(1) ✨

okay so bestie, welcome to the zck manual page β€” the General Commands Manual entry for the command that compresses a file using the zchunk format. this is your girl explaining it, and no cap, it's gonna be cute AND accurate πŸ’–


🌸 NAME 🌸

zck β€” compress a file using the zchunk format


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸ’… DESCRIPTION πŸ’…

The zck utility creates a new zchunk file from the data in the specified input file. literally that's the whole job and she does it well πŸ’…

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. so bestie, don't go looking next to your original file, she's chilling in the cwd, okay? 🫢

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.

πŸ”₯ EXIT STATUS πŸ”₯

The zck utility exits 0 on success, and >0 if an error occurs. so if you get a zero, that's the slay. anything bigger means something went wrong, and that's giving uh oh πŸ’€


🌈 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

πŸ‘‘ SEE ALSO πŸ‘‘

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


πŸŽ€ 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 β€” and that's the whole page bestie, ty for reading, mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from