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. π«Άβ¨π
π¦ where this page comes from
- alpine 3.24: kyotocabinet-doc 1.2.80-r1 Β· GPL-3.0-or-later
- arch rolling: kyotocabinet 1.2.80-2 Β· GPL-3.0-or-later
- debian bookworm: kyotocabinet-utils 1.2.79-2+b1
- debian trixie: kyotocabinet-utils 1.2.80-2+b1
- fedora 43: kyotocabinet 1.2.80-8.fc43 Β· GPL-3.0-only
- fedora 44: kyotocabinet 1.2.80-9.fc44 Β· GPL-3.0-only
- nixos 26.05: kyotocabinet 1.2.80
- nixpkgs unstable: kyotocabinet 1.2.80
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- ubuntu jammy: kyotocabinet-utils 1.2.79-1
- ubuntu noble: kyotocabinet-utils 1.2.80-1build1
- ubuntu questing: kyotocabinet-utils 1.2.80-2
- ubuntu resolute: kyotocabinet-utils 1.2.80-2build1
- ubuntu stonking: kyotocabinet-utils 1.2.80-2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms