K2HREPLACE(1)
β¨ K2HREPLACE β¨
okay bestie, so this is the K2HREPLACE(1) page from the NoSQL(KVS) Library β it's the manual for K2HREPLACE, a lil utility tool for K2HASH. it's giving β¨helpfulβ¨ and honestly? iconic. π
πΈ NAME πΈ
K2HREPLACE β Utility Tool for K2HASH π«Ά
π SYNOPSIS π
k2hreplace [ -d ] SOURCE_FILE DESTINATION_FILE
π DESCRIPTION π
so k2hreplace is the tool you reach for when you gotta replace a K2HASH file safely while other processes are lowkey using it. no drama, no chaos, just a clean swap. π«
and once it's done doing its thing? the destination file gets moved with a suffix. periodt. that's the whole vibe. π
π¦ OPTIONS π¦
SOURCE_FILEβ bestie, this is where you drop the source k2hash file path. the origin story. the beginning. β¨DESTINATION_FILEβ and this one is the destination k2hash file path. the glow-up destination. where it's headed. π-dβ run it in debugging mode. yes queen, show us everything. ππ
πΌ ENVIRONMENT πΌ
K2HDBGMODEβ this env var sets the debugging message level, same as the-goption does. the value you set it to is one ofSILENT,ERR,WANorINFO. and here's the fun part: whenk2hlinetoolcatches aSIGUSR1signal, the debugging message level gets bumped up. it cycles in order likeSILENT,ERR,WAN,INFO,SILENTβ¦ and around we go again, forever, a little carousel of log levels π β¨2HDBGFILEβ this env var sets the file that debugging messages get written to. literally the same thing as the-glogoption. π
ngl bestie, yes, the second one is spelled 2HDBGFILE in the original β not a typo i made, that's just how it's written, so i'm keeping it exactly like that. copy-paste responsibly. π
π§ SEE ALSO π§
k2hash(1), k2hlinetool(1), k2hcompress(1), k2htouch(1), k2hedit(1)
go read the whole friend group, they're all slaying in their own way π«Ά
π BUGS π
found something cursed? please report it to the owner and committers. they wanna know, fr fr. π
π AUTHOR π
k2hash has been written by Takeshi Nakatani <ggtakec@gmail.com>. absolute legend behavior, we stan. β
and that's the whole page bestie!! this was the K2HASH manual, K2HREPLACE(1), dated February 2014. go forth and replace those files safely. mwah. πβ¨π
π¦ 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