
dkdbt - Dirk Krause's database tool
===================================

Usage
-----

dkdbt copy [-a] <source-db-name> <destination-db-name>
dkdbt make [-c <char>] [-a] [-i <encoding>] <destination-db-name> [<file(s)>]
dkdbt text [-o <encoding>] <source-db-name> [<file>]
dkdbt split-sql-lines [<inputfile> [<outputfile>]]

dkdbt help
dkdbt version
dkdbt license-terms
dkdbt features

In a copy operation a new copy of the database is created, probably using
another database type. By default the destination database is truncated
when opening it so the destination database contains exactly the same
records as the source database.
The -a option switches to add mode, the records from the source database
are added to the destination database. Records for existing keys are
replaced, records for keys not yet existing are inserted.

A make operation creates a database from text input. Each input line
contains one record. The first text word in the line is the key, all
remaining text beginning with the second text word is the value.
The -c option can be used to specify a special character to start
a comment. All lines started by the specified character are comment lines
and thus ignored.
The -i option can be used to specify the input encoding.
The files specified on the command line after the destination database name
are used as input files. If no files are specified, standard input is used.

The text operation is a reverse make operation. It writes data from the
database as a sequence of lines. The -o option can be used to specify
the output encoding.

The split-sql-lines operation can be used to split overlong lines in
mysqldump output.

The help operation shows this help text.

The version operation shows the version number.

The license-terms operation shows the license terms.

The features operation lists the database types supported by the program.

