K2HREPLACE(1)

πŸ“¦ version 1.0.101, in epel 10, epel 9, fedora 43, fedora 44

✨ 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 -g option does. the value you set it to is one of SILENT, ERR, WAN or INFO. and here's the fun part: when k2hlinetool catches a SIGUSR1 signal, the debugging message level gets bumped up. it cycles in order like SILENT, 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 -glog option. πŸ“
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