1DPTSV(1) Quick Database Manager DPTSV(1)
2
3
4
6 dptsv - mutual converter between TSV and QDBM Depot database
7
9 dptsv import [-bnum num] [-bin] name
10 dptsv export [-bin] name
11
13 This manual page documents briefly the dptsv commands.
14
15 The command dptsv features mutual conversion between a database of
16 Depot and a TSV text. This command is useful when data exchange with
17 another version of QDBM or another DBM, or when data exchange between
18 systems which have different byte orders. This command is used in the
19 above format. name specifies a database name.
20
21 The subcommand export reads TSV data from the standard input. If a key
22 overlaps, the latter is adopted. -bnum specifies the number of the ele‐
23 ments of the bucket array. The subcommand import writes TSV data to the
24 standard output.
25
27 A summary of options is included below. For a complete description,
28 see the file:///usr/share/doc/qdbm-doc/spex.html#depotcli.
29
30 -bnum num
31 specify the number of the elements of the bucket array.
32
33 -bin treat records as Base64 format.
34
36 For example, to make a database to search `/etc/password' by a user
37 name, perform the following command.
38 cat /etc/passwd | tr ':' '' | dptsv import casket
39
40 Thus, to retrieve the information of a user `mikio', perform the fol‐
41 lowing command.
42 dpmgr get casket mikio
43
45 qdbm(3), dpmgr(1), dpopen(3).
46
48 QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
49
50 This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for
51 the Debian project (but may be used by others).
52
53
54
55Man Page 2005-05-23 DPTSV(1)