![]() |
![]()
| ![]() |
![]()
NAMEgramps - Genealogical Research and Analysis Management Programming System. SYNOPSISgramps [-? | --help] [--usage] [--version] [-l] [-L] [-u | --force-unlock] [-O | --open=DATABASE [-f | --format=FORMAT]] [-i | --import=FILE [-f | --format=FORMAT]] [--remove=FAMILY_TREE_PATTERN] [-e | --export=FILE [-f | --format=FORMAT]] [-a | --action=ACTION] [-p | --options=OPTION-STRING]] [FILE] [--version] DESCRIPTIONGramps is a Free, Open Source genealogy program. It is written in Python, using the GTK+/GNOME interface. Gramps should seem familiar to anyone who has used other genealogy programs before such as Family Tree Maker™, Personal Ancestral Files™, or the GNU Geneweb. It supports importing of the ever-popular GEDCOM format which is used worldwide by almost all other genealogy software. OPTIONS
Most of the report or tools options are specific for each report or tool. However, there are some common options.
Use the above options to find out everything about a given report. When more than one output action is given, each has to be preceded by a -a flag. The actions are performed one by one, in the specified order.
OPERATIONIf 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 argument and start an interactive session, ignoring the rest of the command line arguments. If the -O flag is given, then gramps will try opening the supplied database and then work with that data, as instructed by the further command line parameters. With or without the -O flag, further imports, exports, and actions may be specified on the command line by using -i, -e, and -a flags. The order of -i, -e, or -a options does not matter. The actual order they are processed always is: all imports (if any) → all actions (if any) → all exports (if any). But opening must always be first! If no -O or -i option is given, gramps will launch its main window and start the usual interactive session with an empty database, since there is no data to process anyway. If no -e or -a options are given, gramps will launch its main window and start the usual interactive session with the database resulting from all imports. This database resides in the import_db.grdb under the ~/.gramps/import directory. Any errors encountered during import, export, or action will be dumped either to stdout (if these are exceptions handled by gramps) or to stderr (if these are not handled). Use usual shell redirections of stdout and stderr to save messages and errors to files. EXAMPLESTo open an existing family tree and import an xml file into it, one may type: gramps -O 'My Family Tree' -i ~/db3.gramps 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: gramps -i 'My Family Tree' -i ~/db3.gramps To import four databases (whose formats can be determined from their names) and then check the resulting database for errors, one may type: gramps -i file1.ged -i file2.tgz -i ~/db3.gramps -i file4.wft -a check To explicitly specify the formats in the above example, append filenames with appropriate -f options: gramps -i file1.ged -f gedcom -i file2.tgz -f gramps-pkg \ -i ~/db3.gramps -f gramps-xml -i file4.wft -f wft -a check To record the database resulting from all imports, supply a -e flag (use -f if the filename does not allow gramps to guess the format): gramps -i file1.ged -i file2.tgz -e ~/new-package -f gramps-pkg To import three databases and start an interactive gramps session with the result: gramps -i file1.ged -i file2.tgz -i ~/db3.gramps To run the Verify tool from the commandline and output the result to stdout: gramps -O 'My Family Tree' -a tool -p name= verify Finally, to start a normal interactive session type: gramps ENVIRONMENT VARIABLESThe program checks whether these environment variables are set:
FILES${PREFIX}/bin/gramps
${PREFIX}/lib/python3/dist-packages/gramps/ ${PREFIX}/share/ ${HOME}/.gramps AUTHORSDonald Allingham <don@gramps-project.org> https://www.gramps-project.org/ This man page was originally written by: Brandon L. Griffith <brandon@debian.org> for inclusion in the Debian GNU/Linux system. This man page is currently maintained by: Gramps project <xxx@gramps-project.org> DOCUMENTATIONThe user documentation is available through a web browser in the form of the Gramps Manual. The developer documentation can be found on the https://www.gramps-project.org/wiki/index.php/Portal:Developers portal.
|