Skip to content

Modify RootsMagic database so that anyone with many descendant generations is set to non-living.

License

Notifications You must be signed in to change notification settings

johnandrea/unset-living-flag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

unset-living-flag

Modify RootsMagic database so that anyone with many descendent generations is set to non-living.

Please run initially on a test database or a copy of an operational database.

  • Requires Python 3.6+
  • RootsMagic version 7, 8, 9

Usage

rm-unset-living.py  datafile.rmgc  >report.out

or to check on people without making any changes

rm-unset-living.py --dry-run  datafile.rmgc  >report.out

Options

--max-gen MAXGEN

Anyone with more than this many generations of descendents will have their "living" flag set to false. Default 4

--max-age MAXAGE

Anyone born this many years ago is considered deceased and will be changed. Default 120

--dry-run

Do not change the database.

--verbose

Show the generation count for every person, ie. not just those being changed

--sql-out

Output SQL statements, for later manual updates, to standard out. Enables --dry-run and disables --verbose

Bugs

This code is provided with neither support nor warranty.

About

Modify RootsMagic database so that anyone with many descendant generations is set to non-living.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages