Next: , Previous: , Up: Commands   [Contents][Index]


2.2 zdbs

zdbs is used to store records in a database file. Records are entered via stdin or, optionally, they are read from an input file, with one record per line. Each record should consist of one key-value pair. The values should be separated from the keys by a common delimiter (’|’ by default), for example “key|value”.

In addition to the database file to be used and the common options, the zdbs command accepts the following options:

-d, --delim=CHAR

Delimiter character separating keys from values (default ’|’).

-i, --input=FILE

Read new records from a file instead of from stdin.

-s, --sync

Automatically synchronize all database operations to the disk.