ZCK_GEN_ZDICT(1)

πŸ’– zck_gen_zdict(1) πŸ’–

okay so bestie, welcome to the General Commands Manual entry for zck_gen_zdict β€” yes it's a mouthful, no you don't have to say it out loud, we're gonna get through this together 🫢


✨ NAME ✨

zck_gen_zdict β€” pull the dictionary out of a zdict file, and if you want, the separate chunks too πŸ’…


🌸 SYNOPSIS 🌸

zck_gen_zdict [-d directory | --dir=directory] [-v | --verbose] file
zck_gen_zdict -? | --help | --usage | --version

πŸ¦‹ DESCRIPTION πŸ¦‹

The zck_gen_zdict utility reads the zchunk file you point it at, extracts the dictionary that was used when the thing got compressed, and β€” only if you ask nicely β€” also uncompresses the individual chunks into the directory you specify. two jobs, one little tool, it's giving multitasking icon πŸ‘‘

The zck_gen_zdict utility accepts the following optional arguments:

πŸŽ€ the optional arguments πŸŽ€

  • -d, --dir β€” besides extracting the dictionary, it also uncompresses the individual chunks as sequential files into the directory you name. so you get the dictionary and the chunk files, all neatly dropped in there ✨
  • -v, --verbose β€” verbose operation; it shows you some diagnostic output so you can watch what's happening. main character narration, honestly πŸ’œ
  • -?, --help β€” shows the program usage info and dips out. that's it, that's the whole vibe πŸ™ˆ
  • --usage β€” shows brief program usage info and exits. the short version, the tl;dr if you will πŸ“
  • --version β€” shows the program version info and exits. so you know exactly which one you're dealing with πŸ’…

πŸ’€ EXIT STATUS πŸ’€

The zck_gen_zdict utility exits 0 on success, and >0 if an error occurs. so like, 0 = slay, anything bigger = not slay 😭


🌈 EXAMPLES 🌈

Extract a zchunk file's dictionary into the words.txt.zdict file:

zck_gen_zdict words.txt.zck

Extract the dictionary into words.txt.zdict and also the chunks into the chunks/ directory:

zck_gen_zdict -d chunks/ words.txt.zck

see how easy that was? no cap, two lines and you're done 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

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

go read those too, bestie, they're all part of the same little family 🌸


πŸ’œ AUTHOR πŸ’œ

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


fr fr, that's the whole page. everything in here is exactly what it says on the tin β€” no extra lore added, promise 🫢

Debian Β· May 31, 2020 Β· that's the source and the date, and honestly? iconic. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from