K2HCOMPRESS(1)
π NAME π
okay so bestie, meet K2HCOMPRESS β she's the Utility Tool for K2HASH β¨ that's it, that's the name, short and iconic.
πΈ SYNOPSIS πΈ
k2hcompress [ -replace | -direct | -print ] [ OPTIONS ] FILE
like⦠pick one of those three modes, throw in whatever OPTIONS you need, and hand her a FILE. slay.
π¦ DESCRIPTION π¦
so k2hcompress is a tool for compressing a K2HASH file, periodt. and here's the gag: she can compress the file while other processes are still using it β main character energy, truly β but ngl that mode is now unsupported. so don't come for her if you try it, okay?
π fr fr, the "compress while other processes are using it" thing is unsupported now. no cap.
π OPTIONS π
FILEβ specify k2hash file path. yes she needs to know which file, obviously π-hβ display help. your bestie when you're lost π«Ά-replaceβ make and replace temporary k2hash file for compressing β¨-directβ compress directly k2hash file mapped on memory π₯-printβ only print area information of k2hash file π-mask[BIT COUNT] β specify bit mask count for k2hash data-cmask[BIT COUNT] β specify collision bit mask count for k2hash data-elementcnt[ELEMENT COUNT] β specify element count for each k2hash table-pagesize[BYTE] β specify pagesize for each k2hash internal data-ext[LIBRARY PATH] β specify extension library for hash function π§-g[ERR | WAN | INFO] β set debugging level; k2hlinetool displays debugging message for itself
π ENVIRONMENT π
K2HDBGMODEβ this env var sets the debugging message level, same as the-goption. the value is set asSILENT,ERR,WANorINFO. and when k2hlinetool catches theSIGUSR1signal, the debugging message level gets bumpup β¬οΈ. the level changes in this order:SILENT,ERR,WAN,INFO,SILENT... and around and around we go π«2HDBGFILEβ this env var sets the file which is the debugging message. it's the same as the-glogoption.
β SEE ALSO β
go read those too, iykyk π
π BUGS π
Please report owner and committers. (not me, i'm just the messenger π)
π AUTHOR π
k2hash has been written by Takeshi Nakatani <ggtakec@gmail.com>. π«Ά
k2hash, February 2014 β that's the whole vibe, bestie. now go compress something π β¨
π¦ where this page comes from
- epel 10: k2hash 1.0.101-1.el10_3 Β· MIT
- epel 9: k2hash 1.0.98-1.el9 Β· MIT
- fedora 43: k2hash 1.0.99-1.fc43 Β· MIT
- fedora 44: k2hash 1.0.100-2.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms