manpagez: man pages & more
info gdbm
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21 The gdbm_dump utility

The gdbm_dump utility creates a flat file dump of a GDBM database (see section Export and Import). It takes one mandatory argument: the name of the source database file. The second argument, if given, specifies the name of the output file. If not given, gdbm_dump will produce the dump on the standard output.

For example, the following invocation creates a dump of the database ‘file.db’ in the file ‘file.dump’:

$ gdbm_dump file.db file.dump

By default the utility creates dumps in ASCII format (see section ASCII). Another format can be requested using the ‘--format’ (‘-H’) option.

The gdbm_dump utility understands the following command line options:

-H fmt
--format=fmt

Select output format. Valid values for fmt are: ‘binary’ or ‘0’ to select binary dump format, and ‘ascii’ or ‘1’ to select ASCII format.

-h
--help

Print a concise help summary.

-V
--version

Print program version and licensing information and exit.

--usage

Print a terse invocation syntax summary along with a list of available command line options.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on January 24, 2014 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.