aboutsummaryrefslogtreecommitdiff
path: root/doc/gdbm_load.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gdbm_load.1')
-rw-r--r--doc/gdbm_load.196
1 files changed, 96 insertions, 0 deletions
diff --git a/doc/gdbm_load.1 b/doc/gdbm_load.1
new file mode 100644
index 0000000..00aaac0
--- /dev/null
+++ b/doc/gdbm_load.1
@@ -0,0 +1,96 @@
1.\" This file is part of GDBM.
2.\" Copyright (C) 2011, 2013 Free Software Foundation, Inc.
3.\"
4.\" GDBM is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3, or (at your option)
7.\" any later version.
8.\"
9.\" GDBM is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
16.TH GDBM_LOAD 1 "May 8, 2013" "GDBM" "GDBM User Reference"
17.SH NAME
18gdbm_load \- re-create a GDBM database from a dump file.
19.SH SYNOPSIS
20\fBgdbm_load\fR [\fB\-nr\fR] [\fB\-m\fR \fIMODE\fR]\
21 [\fB\-u\fR \fINAME\fR|\fIUID\fR[:\fINAME\fR|\fIGID\fR]]
22 [\fB\-\-mode\fR=\fIMODE\fR]\
23 [\fB\-\-no\-meta\fR] [\fB\-\-replace\fR]
24 [\fB\-\-user\fR=\fINAME\fR|\fIUID\fR[:\fINAME\fR|\fIGID\fR]]\
25 \fIFILE\fR [\fIDB_FILE\fR]
26
27.sp
28\fBgdbm_load\fR [\fB\-Vh\fR] [\fB\-\-help\fR] [\fB\-\-usage\fR] [\fB\-\-version\fR]
29.SH DESCRIPTION
30Create a
31.B gdbm
32database file
33.I DB_FILE
34from the dump file
35.IR FILE .
36If the
37.I FILE
38argument is not supplied, output the created database to the standard error.
39.PP
40If the input file is in ASCII dump format, the mode and ownership of
41the created database are restored from the information in the dump.
42This can be overridden using the command line options (see below).
43.SH OPTIONS
44.TP
45\fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
46Set database file mode (octal number).
47.TP
48\fB\-n\fR, \fB\-\-no\-meta\fR
49Do not attempt to restore database meta-data (mode and ownership).
50.TP
51\fB\-r\fR, \fB\-\-replace\fR
52If the database exists, replace records in it.
53.TP
54\fB\-u\fR, \fB\-\-user\fR=\fINAME\fR|\fIUID\fR[:\fINAME\fR|\fIGID\fR]
55Set file ownership.
56.TP
57\fB\-h\fR, \fB\-\-help\fR
58Print a short usage summary.
59.TP
60\fB\-\-usage\fR
61Print a list of available options.
62.TP
63\fB\-V\fR, \fB\-\-version\fR
64Print program version
65.SH "SEE ALSO"
66.BR gdbm_dump (1),
67.BR gdbmtool (1),
68.BR gdbm (3).
69.PP
70For a detailed description of
71.B gdbm_load
72and other
73.B gdbm
74utilities, refer to the \fBGDBM Manual\fR available in
75Texinfo format. To access it, run:
76
77 \fBinfo gdbm\fR
78
79.SH "REPORTING BUGS"
80Report bugs to <bug\-gdbm@gnu.org>.
81.SH COPYRIGHT
82Copyright \(co 2013 Free Software Foundation, Inc
83.br
84.na
85License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
86.br
87.ad
88This is free software: you are free to change and redistribute it.
89There is NO WARRANTY, to the extent permitted by law.
90.\" Local variables:
91.\" eval: (add-hook 'write-file-hooks 'time-stamp)
92.\" time-stamp-start: ".TH GDBM[A-Z_-]* 1 \""
93.\" time-stamp-format: "%:B %:d, %:y"
94.\" time-stamp-end: "\""
95.\" time-stamp-line-limit: 20
96.\" end:

Return to:

Send suggestions and report system problems to the System administrator.