The script '''handle.bash''' ([[Media:Handle.bash.tar.gz|downloadable here]]) can be used to replace all database handles in a .gramps file. This makes it possible to work with multiple databases in Gramps, merging select branches manually at will. Without this tool, manual merging of databases derived from one another, or with a common base- database, would not be possible because of handle collision.
Use procedure ==
In order to use this script, you must create a directory and copy the script file to it. Then you export the database you wish to import into a colliding database to a .gramps file inside this directory. Then you run
$ bash handle.bash filename.gramps