1KCFORESTMGR(1)                   Kyoto Cabinet                  KCFORESTMGR(1)
2
3
4

NAME

6       kcforestmgr - command line interface to manage the directory tree data‐
7       base
8
9

DESCRIPTION

11       The command `kcforestmgr' is a utility for test and  debugging  of  the
12       file  tree database and its applications.  `path' specifies the path of
13       a database file.  `key' specifies the key of a record.  `value'  speci‐
14       fies the value of a record.  `file' specifies the input/output file.
15
16              kcforestmgr  create  [-otr]  [-onl|-otl|-onr]  [-tc] [-bnum num]
17              [-psiz num] [-rcd|-rcld|-rcdd] path
18                     Creates a database file.
19              kcforestmgr inform [-onl|-otl|-onr] [-st] path
20                     Prints status information.
21              kcforestmgr  set  [-onl|-otl|-onr]  [-add|-app|-rep|-inci|-incd]
22              [-sx] path key value
23                     Stores a record.
24              kcforestmgr remove [-onl|-otl|-onr] [-sx] path key
25                     Removes a record.
26              kcforestmgr  get  [-onl|-otl|-onr]  [-rm] [-sx] [-px] [-pz] path
27              key
28                     Prints the value of a record.
29              kcforestmgr list [-onl|-otl|-onr] [-des] [-max num] [-rm]  [-sx]
30              [-pv] [-px] path [key]
31                     Prints keys of all records, separated by line feeds.
32              kcforestmgr clear [-onl|-otl|-onr] path
33                     Removes all records of a database.
34              kcforestmgr import [-onl|-otl|-onr] [-sx] path [file]
35                     Imports records from a TSV file.
36              kcforestmgr copy [-onl|-otl|-onr] path file
37                     Copies the whole database.
38              kcforestmgr dump [-onl|-otl|-onr] path [file]
39                     Dumps records into a snapshot file.
40              kcforestmgr load [-otr] [-onl|-otl|-onr] path [file]
41                     Loads records from a snapshot file.
42              kcforestmgr setbulk [-onl|-otl|-onr] path key value ...
43                     Store records at once.
44              kcforestmgr removebulk [-onl|-otl|-onr] [-sx] path key ...
45                     Remove records at once.
46              kcforestmgr getbulk [-onl|-otl|-onr] [-sx] [-px] path key ...
47                     Retrieve records at once.
48              kcforestmgr check [-onl|-otl|-onr] path
49                     Checks consistency.
50
51       Options feature the following.
52
53              -otr : opens the database with the truncation option.
54              -onl : opens the database with the no locking option.
55              -otl : opens the database with the try locking option.
56              -onr : opens the database with the no auto repair option.
57              -tc : tunes the database with the compression option.
58              -bnum num : specifies the number of buckets of the hash table.
59              -psiz num : specifies the size of each page.
60              -rcd : use the decimal comparator instead of the lexical one.
61              -rcld  :  use  the  lexical descending comparator instead of the
62              ascending one.
63              -rcdd : use the decimal descending  comparator  instead  of  the
64              lexical one.
65              -st : prints miscellaneous information.
66              -add : performs adding operation.
67              -app : performs appending operation.
68              -rep : performs replacing operation.
69              -inci : performs integer increment operation.
70              -incd : performs real number increment operation.
71              -sx : the input data is evaluated as a hexadecimal data string.
72              -rm : removes the record.
73              -px  :  the  output  data  is  converted into a hexadecimal data
74              string.
75              -pz : does not append line feed at the end of the output.
76              -des : visits records in descending order.
77              -max num : specifies the maximum number of shown records.
78              -pv : prints values of records also.
79
80       This command returns 0 on success, another on failure.
81
82

SEE ALSO

84       kcforesttest(1)
85
86
87
88Man Page                          2012-05-24                    KCFORESTMGR(1)
Impressum