1TCFMGR(1)                        Tokyo Cabinet                       TCFMGR(1)
2
3
4

NAME

6       tcfmgr - the command line utility of the fixed-length database API
7
8

DESCRIPTION

10       The  command  `tcfmgr'  is  a  utility  for  test  and debugging of the
11       fixed-length database API and its applications.  `path'  specifies  the
12       path  of  a database file.  `width' specifies the width of the value of
13       each record.  `limsiz' specifies the limit size of the  database  file.
14       `key'  specifies the key of a record.  `value' specifies the value of a
15       record.  `file' specifies the input file.
16
17              tcfmgr create path [width [limsiz]]
18                     Create a database file.
19              tcfmgr inform [-nl|-nb] path
20                     Print miscellaneous information to the standard output.
21              tcfmgr put [-nl|-nb] [-sx] [-dk|-dc|-dai|-dad] path key value
22                     Store a record.
23              tcfmgr out [-nl|-nb] [-sx] path key
24                     Remove a record.
25              tcfmgr get [-nl|-nb] [-sx] [-px] [-pz] path key
26                     Print the value of a record.
27              tcfmgr list [-nl|-nb] [-m num] [-pv] [-px] [-rb lkey ukey]  [-ri
28              str] path
29                     Print keys of all records, separated by line feeds.
30              tcfmgr optimize [-nl|-nb] path [width [limsiz]]
31                     Optimize a database file.
32              tcfmgr importtsv [-nl|-nb] [-sc] path [file]
33                     Store records of TSV in each line of a file.
34              tcfmgr version
35                     Print the version information of Tokyo Cabinet.
36
37       Options feature the following.
38
39              -nl : enable the option `FDBNOLCK'.
40              -nb : enable the option `FDBLCKNB'.
41              -sx : the input data is evaluated as a hexadecimal data string.
42              -dk : use the function `tcfdbputkeep' instead of `tcfdbput'.
43              -dc : use the function `tcfdbputcat' instead of `tcfdbput'.
44              -dai : use the function `tcfdbaddint' instead of `tcfdbput'.
45              -dad : use the function `tcfdbadddouble' instead of `tcfdbput'.
46              -px  :  the  output  data  is  converted into a hexadecimal data
47              string.
48              -pz : do not append line feed at the end of the output.
49              -m num : specify the maximum number of the output.
50              -pv : print values of records also.
51              -rb lkey ukey : specify the range of keys.
52              -ri str : specify the interval notation of keys.
53              -sc : normalize keys as lower cases.
54
55       This command returns 0 on success, another on failure.
56
57

SEE ALSO

59       tcftest(1), tcfmttest(1), tcfdb(3), tokyocabinet(3)
60
61
62
63Man Page                          2010-08-05                         TCFMGR(1)
Impressum