KCFORESTMGR(1)

πŸŽ€ NAME πŸŽ€

okay so bestie, kcforestmgr(1) β€” that's the command line interface to manage the directory tree database. it's the little CLI bestie that handles the whole tree. πŸ’–


✨ SYNOPSIS ✨

kcforestmgr create [-otr] [-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-rcd|-rcld|-rcdd] path
kcforestmgr inform [-onl|-otl|-onr] [-st] path
kcforestmgr set [-onl|-otl|-onr] [-add|-app|-rep|-inci|-incd] [-sx] path key value
kcforestmgr remove [-onl|-otl|-onr] [-sx] path key
kcforestmgr get [-onl|-otl|-onr] [-rm] [-sx] [-px] [-pz] path key
kcforestmgr list [-onl|-otl|-onr] [-des] [-max num] [-rm] [-sx] [-pv] [-px] path [key]
kcforestmgr clear [-onl|-otl|-onr] path
kcforestmgr import [-onl|-otl|-onr] [-sx] path [file]
kcforestmgr copy [-onl|-otl|-onr] path file
kcforestmgr dump [-onl|-otl|-onr] path [file]
kcforestmgr load [-otr] [-onl|-otl|-onr] path [file]
kcforestmgr setbulk [-onl|-otl|-onr] path key value ...
kcforestmgr removebulk [-onl|-otl|-onr] [-sx] path key ...
kcforestmgr getbulk [-onl|-otl|-onr] [-sx] [-px] path key ...
kcforestmgr check [-onl|-otl|-onr] path

🌸 DESCRIPTION 🌸

the command kcforestmgr is a utility for test and debugging of the file tree database and its applications. so like, it's giving developer-tools energy, not your everyday main character. 🧚

here's the vocab real quick, because the rest of this page just says these words and expects you to know:

  • path β€” the path of a database file. the moment. the location. πŸ“
  • key β€” the key of a record. πŸ”‘
  • value β€” the value of a record. πŸ’Ž
  • file β€” the input/output file. πŸ“„

πŸ¦‹ the subcommands, one by one πŸ¦‹

  • create [-otr] [-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-rcd|-rcld|-rcdd] path β€” creates a database file. brand new, freshly built, no notes. ✨
  • inform [-onl|-otl|-onr] [-st] path β€” prints status information. it's spilling the tea about itself. πŸ“
  • set [-onl|-otl|-onr] [-add|-app|-rep|-inci|-incd] [-sx] path key value β€” stores a record. put that thing down, flip it, done. πŸ’…
  • remove [-onl|-otl|-onr] [-sx] path key β€” removes a record. not me deleting it, it's gone gone. πŸ’€
  • get [-onl|-otl|-onr] [-rm] [-sx] [-px] [-pz] path key β€” prints the value of a record. come get y'all's data. 🫢
  • list [-onl|-otl|-onr] [-des] [-max num] [-rm] [-sx] [-pv] [-px] path [key] β€” prints keys of all records, separated by line feeds. the full roster, periodt. πŸ‘‘
  • clear [-onl|-otl|-onr] path β€” removes all records of a database. full reset, we don't talk about before. 🌈
  • import [-onl|-otl|-onr] [-sx] path [file] β€” imports records from a TSV file. bring the whole squad in. πŸŽ€
  • copy [-onl|-otl|-onr] path file β€” copies the whole database. twin, but make it identical. πŸ¦‹
  • dump [-onl|-otl|-onr] path [file] β€” dumps records into a snapshot file. a lil polaroid of your data. πŸ“Έ
  • load [-otr] [-onl|-otl|-onr] path [file] β€” loads records from a snapshot file. putting the polaroid back into reality. 🌟
  • setbulk [-onl|-otl|-onr] path key value ... β€” store records at once. bulk era, we're efficient now. πŸ”₯
  • removebulk [-onl|-otl|-onr] [-sx] path key ... β€” remove records at once. goodbye in bulk, no cap. 😭
  • getbulk [-onl|-otl|-onr] [-sx] [-px] path key ... β€” retrieve records at once. grab everything, hands full, thriving. πŸ’œ
  • check [-onl|-otl|-onr] path β€” checks consistency. the vibe check, but for your database. ⭐

πŸ’… OPTIONS πŸ’…

options feature the following, bestie β€” read every single one, i'm not letting you skim. πŸ™ˆ

  • -otr β€” opens the database with the truncation option. (yes, it truncates. be so serious before you use this. 😭)
  • -onl β€” opens the database with the no locking option.
  • -otl β€” opens the database with the try locking option.
  • -onr β€” opens the database with the no auto repair option.
  • -tc β€” tunes the database with the compression option.
  • -bnum num β€” specifies the number of buckets of the hash table.
  • -psiz num β€” specifies the size of each page.
  • -rcd β€” use the decimal comparator instead of the lexical one.
  • -rcld β€” use the lexical descending comparator instead of the ascending one.
  • -rcdd β€” use the decimal descending comparator instead of the lexical one.
  • -st β€” prints miscellaneous information.
  • -add β€” performs adding operation.
  • -app β€” performs appending operation.
  • -rep β€” performs replacing operation.
  • -inci β€” performs integer increment operation.
  • -incd β€” performs real number increment operation.
  • -sx β€” the input data is evaluated as a hexadecimal data string.
  • -rm β€” removes the record.
  • -px β€” the output data is converted into a hexadecimal data string.
  • -pz β€” does not append line feed at the end of the output.
  • -des β€” visits records in descending order.
  • -max num β€” specifies the maximum number of shown records.
  • -pv β€” prints values of records also.

🌟 EXIT STATUS 🌟

this command returns 0 on success, another on failure. slay when it's 0, investigative journalism when it's not. πŸ”


πŸ‘€ SEE ALSO πŸ‘€


that's the whole page, bestie β€” it's giving Man Page energy, dated 2012-05-24, and honestly? iconic. now go forth and manage that directory tree. πŸ«Άβœ¨πŸŽ€