2012-12-02 16:27:06 +05:30
.TH gramps 1 "@VERSION@" "December 2012" "@VERSION@"
2003-05-20 04:26:18 +05:30
.SH NAME
gramps \- Genealogical Research and Analysis Management Programming System.
.SH SYNOPSIS
.B gramps
2004-06-23 08:29:29 +05:30
.RB [ \- ?|\-\^\-help ]
.RB [ \- \^ \- usage ]
2003-05-20 04:26:18 +05:30
.RB [ \- \^ \- version ]
2008-02-02 23:15:13 +05:30
.RB [ \- l ]
2008-01-28 20:11:47 +05:30
.RB [ \- u|\-\^\-force-unlock ]
2005-05-11 19:34:47 +05:30
.RB [ \- O|\-\^\-open=
2008-01-14 14:29:18 +05:30
.IR DATABASE
2005-05-11 19:34:47 +05:30
.RB [ \- f|\-\^\-format=
.IR FORMAT ]]
2004-06-23 08:29:29 +05:30
.RB [ \- i|\-\^\-import=
.IR FILE
.RB [ \- f|\-\^\-format=
2003-05-20 04:26:18 +05:30
.IR FORMAT ]]
2004-06-23 08:29:29 +05:30
.RB [ \- i|\-\^\-import=
2003-05-20 04:26:18 +05:30
.IR ... ]
2009-03-11 16:36:51 +05:30
.RB [ \- e|\-\^\-export=
2004-06-23 08:29:29 +05:30
.IR FILE
.RB [ \- f|\-\^\-format=
2003-05-20 04:26:18 +05:30
.IR FORMAT ]]
2004-06-23 08:29:29 +05:30
.RB [ \- a|\-\^\-action=
2003-05-20 04:26:18 +05:30
.IR ACTION ]
2005-05-11 19:34:47 +05:30
.RB [ \- p|\-\^\-options=
2008-01-18 17:49:16 +05:30
.IR OPTIONSTRING ]]
2004-06-23 08:29:29 +05:30
.RB [
.IR FILE
.RB ]
2008-01-14 14:29:18 +05:30
.if 0 .RB [ bonobo\ options ]
.if 0 .RB [ sound\ options ]
.RB [ \- \- version ]
2003-05-20 04:26:18 +05:30
.SH DESCRIPTION
.PP
2005-05-11 19:34:47 +05:30
\fI Gramps\fP is a Free/OpenSource genealogy program. It is written in Python,
using the GTK+/GNOME interface.
2006-12-01 05:53:44 +05:30
Gramps should seem familiar to anyone who has used other genealogy programs
2005-05-11 19:34:47 +05:30
before such as \fI Family Tree Maker (TM)\fR , \fI Personal Ancestral
Files (TM)\fR , or the GNU Geneweb.
2003-05-20 04:26:18 +05:30
It supports importing of the ever popular GEDCOM format which is used world
2004-02-11 06:03:50 +05:30
wide by almost all other genealogy software.
2003-05-20 04:26:18 +05:30
.SH OPTIONS
.TP
2004-06-23 08:29:29 +05:30
.BI gramps " FILE"
2008-01-14 14:29:18 +05:30
When \fI FILE\fR is given (without any flags) as a family tree name or as
a family tree database directory, then it is opened and an interactive
2009-11-20 23:20:15 +05:30
session is started. If FILE is a file format understood by Gramps, an empty
2008-01-14 14:29:18 +05:30
family tree is created whose name is based on the \fI FILE\fP name
and the data is imported into it. The rest of the
options is ignored. This way of launching is suitable for using gramps
2006-12-01 05:53:44 +05:30
as a handler for genealogical data in e.g. web browsers. This invocation
2005-05-11 19:34:47 +05:30
can accept any data format native to gramps, see below.
2004-06-23 08:29:29 +05:30
.br
.TP
.BI \- f,\-\^\-format= " FORMAT"
2008-01-14 14:29:18 +05:30
Explicitly specify format of \fI FILE\fR given by preceding
.ig
\fB \- O\fR ,
. .
2005-05-11 19:34:47 +05:30
\fB \- i\fR , or
2009-03-11 16:36:51 +05:30
\fB \- e\fR option. If the \fB \- f\fR option is not given for any \fI FILE\fR ,
2008-01-14 14:29:18 +05:30
the format of that file is guessed according to its extension or MIME-type.
2003-05-22 03:38:09 +05:30
.br
Formats
2009-10-25 19:22:29 +05:30
available for export are \fB gramps\- xml\fR (guessed if \fI FILE\fR ends with
2008-01-14 14:29:18 +05:30
\fB .gramps\fR ), \fB gedcom\fR (guessed if \fI FILE\fR ends with \fB .ged\fR ), or
2009-11-20 23:20:15 +05:30
any file export available through the Gramps plugin system.
2003-05-22 03:38:09 +05:30
.br
2005-05-11 19:34:47 +05:30
Formats
available for import are \fB grdb\fR , \fB gramps\- xml\fR , \fB gedcom\fR ,
\fB gramps\- pkg\fR (guessed if \fI FILE\fR ends with \fB .gpkg\fR ), and
\fB geneweb\fR (guessed if \fI FILE\fR ends with \fB .gw\fR ).
.br
2008-01-14 14:29:18 +05:30
Formats available for export are
.ig
\fB grdb\fR ,
. .
\fB gramps\- xml\fR , \fB gedcom\fR ,
2005-05-11 19:34:47 +05:30
\fB gramps\- pkg\fR , \fB wft\fR (guessed if \fI FILE\fR ends with \fB .wft\fR ),
2006-03-01 01:24:35 +05:30
\fB geneweb\fR , and \fB iso\fR (never guessed, always specify with
2005-05-11 19:34:47 +05:30
\fB \- f\fR option).
2008-01-18 17:49:16 +05:30
.TP
.BI \- l
Print a list of known family trees.
2008-01-28 20:11:47 +05:30
.TP
.BI \- u,\-\^\-force-unlock
Unlock a locked database.
2005-05-11 19:34:47 +05:30
.TP
2008-01-14 14:29:18 +05:30
.BI \- O,\-\^\-open= " DATABASE"
Open \fI DATABASE\fR which must be an existing database directory or existing family tree name.
If no action, import or export options are given on the command line then an interactive session is started using that database.
2003-05-20 04:26:18 +05:30
.TP
2004-06-23 08:29:29 +05:30
.BI \- i,\-\^\-import= " FILE"
2015-03-07 15:54:25 +05:30
Import data from \fI FILE\fR . If you haven't specified a database, then an empty database is created for you called Family Tree x (where x is an incrementing number).
2003-05-20 04:26:18 +05:30
.br
2003-05-22 03:38:09 +05:30
When more than one input file is given, each has to be preceded by \fB \- i\fR
flag. The files are imported in the specified order,
2003-05-20 04:26:18 +05:30
i.e. \fB \- i\fR \fI FILE1\fR \fB \- i\fR \fI FILE2\fR
and \fB \- i\fR \fI FILE2\fR \fB \- i\fR \fI FILE1\fR might produce different
gramps IDs in the resulting database.
2012-12-02 16:27:06 +05:30
.TP
.BI \- e,\-\^\-export= " FILE"
Export data into \fI FILE\fR . For \fB gramps\- xml\fR , \fB gedcom\fR ,
\fB wft\fR , \fB gramps\- pkg\fR , and \fB geneweb\fR , the \fI FILE\fR is
the name of the resulting file.
.br
When more than one output file is given, each has to be preceded
by \fB \- e\fR flag. The files are written one by one, in the specified order.
2003-05-20 04:26:18 +05:30
.TP
2004-06-23 08:29:29 +05:30
.BI \- a,\-\^\-action= " ACTION"
2003-05-20 04:26:18 +05:30
Perform \fI ACTION\fR on the imported data. This is done after all imports
2008-02-02 18:49:49 +05:30
are successfully completed. Currently available actions are
\fB summary\fR (same as Reports->View->Summary),
\fB check\fR (same as Tools->Database Processing->Check and Repair),
\fB report\fR (generates report), and
\fB tool\fR (runs a plugin tool).
Both \fB report\fR and \fB tool\fR need the \fI OPTIONSTRING\fR supplied by the
\fB \- p\fR flag).
2005-05-11 19:34:47 +05:30
.br
2008-02-02 18:49:49 +05:30
The \fI OPTIONSTRING\fR should satisfy the following conditions:
2003-05-22 03:38:09 +05:30
.br
2005-05-11 19:34:47 +05:30
It must not contain any spaces.
If some arguments need to include spaces, the string should
2008-02-02 18:49:49 +05:30
be enclosed with quotation marks, i.e., follow the shell syntax.
Option string is a list of pairs with name and value (separated by the
equality sign). The name and value pairs must be separated by commas.
2005-05-11 19:34:47 +05:30
.br
2008-02-02 18:49:49 +05:30
Most of the report or tools options are specific for each report or tool.
However, there are some common options.
2003-05-22 03:38:09 +05:30
2008-02-02 18:49:49 +05:30
.BI "name=name"
2005-05-11 19:34:47 +05:30
.br
2008-02-02 18:49:49 +05:30
This mandatory option determines which report or tool will be run.
If the supplied \fI name\fR does not correspond to any available report or
tool, an error message will be printed followed by the list of
available reports or tools (depending on the \fI ACTION\fR ).
2005-05-11 19:34:47 +05:30
.BI "show=all"
.br
2008-02-02 18:49:49 +05:30
This will produce the list of names for all options available for a given
report or tool.
2005-05-11 19:34:47 +05:30
2008-02-02 18:49:49 +05:30
.BI "show=" optionname
2005-05-11 19:34:47 +05:30
.br
This will print the description of
2008-02-02 18:49:49 +05:30
the functionality supplied by \fI optionname\fR , as well as what are the
2005-05-11 19:34:47 +05:30
acceptable types and values for this option.
.br
Use the above options to find out
everything about a given report.
.LP
2003-05-22 03:38:09 +05:30
When more than one output action is given, each has to be preceded
by \fB \- a\fR flag. The actions are performed one by one, in the specified order.
2008-01-14 14:29:18 +05:30
.TP
.BI \- d,\-\^\-debug= " LOGGER_NAME"
Enables debug logs for development and testing. Look at the source code for details
.TP
.BI \- \^ \- version
Prints the version number of gramps and then exits
\" change 0 to 1 to enable output of OAF options
.if 0 \{
.PP
The following options are used for Bonobo activation.
.TP
.BI \- \^ \- oaf-ior-fd= "FD"
File descriptor to print the OAF IOR on
.TP
.BI \- \^ \- oaf-activate-iid= " IID"
OAF IID to activate
.TP
.BI \- \^ \- oaf-private
Prevent registering of server with OAF
\}
\" change 0 to 1 to enable output of Gnome sound options
.if 0 \{
.PP
The following options are used for controlling sound using the Gnome Library.
.TP
.BI \- \^ \- disable-sound
Disable sound server usage
.TP
.BI \- \^ \- enable-sound
Enable sound server usage
.TP
.BI \- \^ \- espeaker= " HOSTNAME:PORT"
Host:port on which the sound server to use is running
\}
.SH "Operation"
2005-05-11 19:34:47 +05:30
.br
If the first argument on the command line does not start with dash (i.e. no
flag), gramps will attempt to open the file with the name given by the first
2006-03-01 01:24:35 +05:30
argument and start interactive session, ignoring the rest of the command line
arguments.
2005-05-11 19:34:47 +05:30
.LP
If the \fB \- O\fR flag is given, then gramps will try opening
2008-01-14 14:29:18 +05:30
the supplied database and then work with that data, as instructed by the
2005-05-11 19:34:47 +05:30
further command line parameters.
.LP
With or without the \fB \- O\fR flag, there could be multiple imports,
exports, and actions specified further on the command line by using \fB \- i\fR ,
2009-03-11 16:36:51 +05:30
\fB \- e\fR , and \fB \- a\fR flags.
2005-05-11 19:34:47 +05:30
2003-05-22 03:38:09 +05:30
.LP
2009-03-11 16:36:51 +05:30
The order of \fB \- i\fR , \fB \- e\fR , or \fB \- a\fR options does not matter. The
2005-12-06 12:08:09 +05:30
actual order always is: all imports (if any) -> all actions (if any)
-> all exports (if any). But opening must always be first!
2003-05-22 03:38:09 +05:30
.LP
2005-05-11 19:34:47 +05:30
If no \fB \- O\fR or \fB \- i\fR option is given, gramps will launch its main
2006-03-01 01:24:35 +05:30
window and start the usual interactive session with the empty database,
since there is no data to process, anyway.
2003-05-20 04:26:18 +05:30
.LP
2009-03-11 16:36:51 +05:30
If no \fB \- e\fR or \fB \- a\fR options are given, gramps will launch its main
2003-05-20 04:26:18 +05:30
window and start the usual interactive session with the database resulted
2005-05-11 19:34:47 +05:30
from all imports. This database resides in the \fB import_db.grdb\fR
under \fB ~/.gramps/import\fR directory.
2003-05-20 04:26:18 +05:30
.LP
The error encountered during import, export, or action, will be either
2008-01-15 15:55:33 +05:30
dumped to \fI stdout\fR (if these are exceptions handled by gramps) or
2003-05-20 04:26:18 +05:30
to \fI stderr\fR (if these are not handled). Use usual shell redirections
of \fI stdout\fR and \fI stderr\fR to save messages and errors in files.
2003-05-21 00:37:35 +05:30
.SH EXAMPLES
.TP
2008-01-14 14:29:18 +05:30
To open an existing family tree and import an xml file into it, one may type:
\fB gramps\fR \fB \- O\fR \fI 'My Family Tree'\fR \fB \- i\fR \fI ~/db3.gramps\fR
.TP
The above changes the opened family tree, to do the same, but import both in a temporary family tree and start an interactive session, one may type:
\fB gramps\fR \fB \- i\fR \fI 'My Family Tree'\fR \fB \- i\fR \fI ~/db3.gramps\fR
.TP
2003-09-16 07:05:09 +05:30
To import four databases (whose formats can be determined from their names) and then check the resulting database for errors, one may type:
2005-08-18 11:28:28 +05:30
\fB gramps\fR \fB \- i\fR \fI file1.ged\fR \fB \- i\fR \fI file2.tgz\fR \fB \- i\fR \fI ~/db3.gramps\fR \fB \- i\fR \fI file4.wft\fR \fB \- a\fR \fI check\fR
2003-05-21 00:37:35 +05:30
.TP
To explicitly specify the formats in the above example, append filenames with appropriate \fB \- f\fR options:
2005-08-18 11:28:28 +05:30
\fB gramps\fR \fB \- i\fR \fI file1.ged\fR \fB \- f\fR \fI gedcom\fR \fB \- i\fR \fI file2.tgz\fR \fB \- f\fR \fI gramps-pkg\fR \fB \- i\fR \fI ~/db3.gramps\fR \fB \- f\fR \fI gramps-xml\fR \fB \- i\fR \fI file4.wft\fR \fB \- f\fR \fI wft\fR \fB \- a\fR \fI check\fR
2003-05-21 00:37:35 +05:30
.TP
2009-03-11 16:36:51 +05:30
To record the database resulting from all imports, supply \fB \- e\fR flag (use \fB \- f\fR if the filename does not allow gramps to guess the format):
\fB gramps\fR \fB \- i\fR \fI file1.ged\fR \fB \- i\fR \fI file2.tgz\fR \fB \- e\fR \fI ~/new-package\fR \fB \- f\fR \fI gramps-pkg\fR
2003-05-21 00:37:35 +05:30
.TP
To import three databases and start interactive gramps session with the result:
2005-08-18 11:28:28 +05:30
\fB gramps\fR \fB \- i\fR \fI file1.ged\fR \fB \- i\fR \fI file2.tgz\fR \fB \- i\fR \fI ~/db3.gramps\fR
2003-05-21 00:37:35 +05:30
.TP
2008-02-02 18:49:49 +05:30
To run the Verify tool from the commandline and output the result to stdout:
2008-02-08 01:48:51 +05:30
\fB gramps\fR \fB \- O\fR \fI 'My Family Tree'\fR \fB -a\fR \fI tool\fR \fB -p\fR \fB name\fR =\fI verify\fR
2008-02-02 18:49:49 +05:30
.TP
2003-05-21 00:37:35 +05:30
Finally, to start normal interactive session type:
\fB gramps\fR
2008-03-29 22:48:41 +05:30
.SH ENVIRONMENT VARIABLES
The program checks whether these environment variables are set:
\fB LANG\fR - describe, which language to use:
Ex.: for polish language this variable has to be set to pl_PL.UTF-8.
2009-11-20 23:20:15 +05:30
\fB GRAMPSHOME\fR - if set, force Gramps to use the specified directory to keep
2008-03-29 22:48:41 +05:30
program settings and databases there. By default, this variable is not set and
gramps assumes that the folder with all databases and profile settings
should be created within the user profile folder (described by environment
variable HOME for Linux or USERPROFILE for Windows 2000/XP).
2003-05-20 04:26:18 +05:30
.SH CONCEPTS
Supports a python\- based plugin system, allowing import and export writers,
report generators, tools, and display filters to be added without modification
of the main program.
2002-10-20 19:55:16 +05:30
.LP
2004-06-23 08:29:29 +05:30
In addition to generating direct printer output, report generators also
2005-05-11 19:34:47 +05:30
target other systems, such as \fI OpenOffice.org\fR , \fI AbiWord\fR , HTML,
2004-06-23 08:29:29 +05:30
or LaTeX to allow the users to modify the format to suit their needs.
2003-05-20 04:26:18 +05:30
2003-12-02 05:50:46 +05:30
.SH KNOWN BUGS AND LIMITATIONS
2003-05-20 04:26:18 +05:30
.SH FILES
2002-10-20 19:55:16 +05:30
.LP
2012-12-28 15:14:04 +05:30
\fI ${PREFIX}/bin/gramps\fP
2002-10-20 19:55:16 +05:30
.br
2012-12-28 15:14:04 +05:30
\fI ${PREFIX}/lib/python/dist\- packages/gramps/\fP
.br
\fI ${PREFIX}/share/\fP
2002-10-20 19:55:16 +05:30
.br
\fI ${HOME}/.gramps\fP
2003-05-20 04:26:18 +05:30
.SH AUTHORS
2005-05-11 19:34:47 +05:30
Donald Allingham \fI <don@gramps-project.org>\fR
2002-10-20 19:55:16 +05:30
.br
\fI http://gramps.sourceforge.net\fR
.LP
2006-12-01 05:53:44 +05:30
This man page was originally written by:
2002-10-20 19:55:16 +05:30
.br
Brandon L. Griffith \fI <brandon@debian.org>\fR
2003-05-20 04:26:18 +05:30
.br
for inclusion in the Debian GNU/Linux system.
.LP
2006-12-01 05:53:44 +05:30
This man page is currently maintained by:
2002-10-20 19:55:16 +05:30
.br
2008-01-18 17:49:16 +05:30
Gramps project \fI <xxx@gramps-project.org>\fR
2002-10-20 19:55:16 +05:30
.br
2003-05-20 04:26:18 +05:30
.SH DOCUMENTATION
The user documentation is available through standard GNOME Help browser
2003-12-02 05:50:46 +05:30
in the form of Gramps Manual. The manual is also available in XML format
2003-05-20 04:26:18 +05:30
as \fB gramps-manual.xml\fR under \fI doc/gramps-manual/$LANG\fR in the official
source distribution.
.LP
2005-05-11 19:34:47 +05:30
The developer documentation can be found on the
\fI http://developers.gramps-project.org\fR site.