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

NAME

6       kcdirmgr - command line interface to manage the directory hash database
7
8

DESCRIPTION

10       The  command  `kcdirmgr'  is  a  utility  for test and debugging of the
11       directory hash database and its  applications.   `path'  specifies  the
12       path of a database file.  `key' specifies the key of a record.  `value'
13       specifies the value of a record.   `file'  specifies  the  input/output
14       file.
15
16              kcdirmgr create [-otr] [-onl|-otl|-onr] [-tc] path
17                     Creates a database file.
18              kcdirmgr inform [-onl|-otl|-onr] [-st] path
19                     Prints status information.
20              kcdirmgr set [-onl|-otl|-onr] [-add|-app|-rep|-inci|-incd] [-sx]
21              path key value
22                     Stores a record.
23              kcdirmgr remove [-onl|-otl|-onr] [-sx] path key
24                     Removes a record.
25              kcdirmgr get [-onl|-otl|-onr] [-sx] [-px] [-pz] path key
26                     Prints the value of a record.
27              kcdirmgr list [-onl|-otl|-onr] [-max num] [-sx] [-pv] [-px] path
28              [key]
29                     Prints keys of all records, separated by line feeds.
30              kcdirmgr clear [-onl|-otl|-onr] path
31                     Removes all records of a database.
32              kcdirmgr import [-onl|-otl|-onr] [-sx] path [file]
33                     Imports records from a TSV file.
34              kcdirmgr copy [-onl|-otl|-onr] path file
35                     Copies the whole database.
36              kcdirmgr dump [-onl|-otl|-onr] path [file]
37                     Dumps records into a snapshot file.
38              kcdirmgr load [-otr] [-onl|-otl|-onr] path [file]
39                     Loads records from a snapshot file.
40              kcdirmgr defrag [-onl|-otl|-onr] path
41                     Performs defragmentation.
42              kcdirmgr check [-onl|-otl|-onr] path
43                     Checks consistency.
44
45       Options feature the following.
46
47              -otr : opens the database with the truncation option.
48              -onl : opens the database with the no locking option.
49              -otl : opens the database with the try locking option.
50              -onr : opens the database with the no auto repair option.
51              -tc : tunes the database with the compression option.
52              -st : prints miscellaneous information.
53              -add : performs adding operation.
54              -app : performs appending operation.
55              -rep : performs replacing operation.
56              -inci : performs integer increment operation.
57              -incd : performs real number increment operation.
58              -sx : the input data is evaluated as a hexadecimal data string.
59              -px  :  the  output  data  is  converted into a hexadecimal data
60              string.
61              -pz : does not append line feed at the end of the output.
62              -max num : specifies the maximum number of shown records.
63              -pv : prints values of records also.
64
65       This command returns 0 on success, another on failure.
66
67

SEE ALSO

69       kcdirtest(1)
70
71
72
73Man Page                          2010-12-09                       KCDIRMGR(1)
Impressum