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.gpkg -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.gpkg -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 -o flag (use -f if the filename does not allow GRAMPS to guess the format):

gramps -i file1.ged -i file2.gpkg -o ~/new-package -f gramps-pkg

To save any error messages of the above example into files outfile and errfile, run:

gramps -i file1.ged -i file2.dpkg -o ~/new-package -f gramps-pkg >outfile 2>errfile

To import three databases and start interactive GRAMPS session with the result:

gramps -i file1.ged -i file2.gpkg -i ~/db3.gramps

To open a database and, based on that data, generate timeline report in PDF format putting the output into the my_timeline.pdf file:

gramps -O file.grdb -a report -p name=timeline,off=pdf,of=my_timeline.pdf


Use the name=timeline,show=all to find out about all available options for the timeline report. To find out details of a particular option, use show=option_name, e.g. name=timeline,show=off string.

To learn about available report names, use name=show string.

Finally, to start normal interactive session type: