![]() |
GeneWeb - Merging data bases |
This can be done only with interactive commands. If you are used to gwsetup, you cannot do it, it is not implemented, sorry.
The merging of data bases is done in two steps:
gwu foo > foo.gw gwu bar > bar.gw
gwc foo.gw -sep bar.gw -o baseThe option "-sep" allows to treat "bar.gw" separately: if a person in "bar.gw" is already defined with the same key (first name/surname/number) in "foo.gw", the number of his key is automatically shifted to avoid the conflict.
You will be able to merge these people in your navigator. If "gwd" is not launched, launch it.
Then apply persons merging, which is in the part "How to make modifications in the data base" (forget the comment about the fact that it is not about "databases merging").
To do the cleaning up of the base "base" (you can make at any time, and even several times), use again an interactive window. Type:
gwu base > base.gw gwc base.gw -o base
Note that if you want to scratch the old base "foo", type simply "-o foo -f" in this second command:
gwc base.gw -o foo -f