ZCK_DELTA_SIZE(1)

πŸ’– ZCK_DELTA_SIZE πŸ’–

okay bestie, so you know how we're always like "why am I transferring this ENTIRE file when literally 2% of it changed"? yeah. that's this. this is the little icon that answers that question. it's a General Commands Manual page, and it lives in section 1, and it's about to become your new obsession 🫢


✨ NAME ✨

zck_delta_size β€” calculate the differences between two zchunk files

like, it does math on how different your files are. it's giving "compare and contrast" but for compression nerds πŸ’…


🌸 SYNOPSIS 🌸

zck_delta_size [-v | --verbose] file1 file2
zck_delta_size -? | --help | --usage | --version

πŸ¦‹ DESCRIPTION πŸ¦‹

so the zck_delta_size utility is out here examining two zchunk compressed files and figuring out how similar they are β€” specifically, how many chunks are the same between the files. why do we care? because then tools like e.g. rsync(1) or zckdl(1) could only transfer the small parts that differ instead of the full files. no cap, that's a glow-up for your bandwidth 😭

this is especially useful for structured files that have been compressed using the zck(1) tool's -s (--split) option. so if you're splitting, you're gonna wanna be delta-sizing too. iykyk ✨

The zck_delta_size utility accepts the following optional arguments:

  • -v, --verbose β€” Verbose operation; display some diagnostic output. (it will talk to you πŸ’¬)
  • -?, --help β€” Display program usage information and exit. (the classic cry for help)
  • --usage β€” Display brief program usage information and exit. (the short version, for when you're in a rush)
  • --version β€” Display program version information and exit. (who am i? what am i? which version am i?)

πŸ’€ EXIT STATUS πŸ’€

The zck_delta_size utility exits 0 on success, and >0 if an error occurs. so like, 0 = slay, anything else = not slay. periodt.


🌈 EXAMPLES 🌈

Examine two zchunk files:

zck_delta_size doc1.txt.zck doc2.txt.zck

literally that's it. two files, one command, done. main character energy πŸ‘‘


πŸŽ€ SEE ALSO πŸŽ€

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

(the whole friend group fr fr 🫢)


πŸ’œ AUTHOR πŸ’œ

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


πŸ’Œ and that's the whole page bestie! this one's brought to you by the Debian crew, dated May 31, 2020. go forth and delta-size something. mwah! πŸ’…βœ¨
πŸ“¦ where this page comes from