# Merging distinct trees / Export filter

**URL:** <https://gramps.discourse.group/t/merging-distinct-trees-export-filter/3728>\
**Category:** Help\
**Created:** [June 22, 2023, 5:47pm UTC](https://gramps.discourse.group/t/merging-distinct-trees-export-filter/3728 "2023-06-22T17:47:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmgursky](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@dmgursky](https://gramps.discourse.group/u/dmgursky)\
**Post date:** [June 22, 2023, 5:47pm UTC](https://gramps.discourse.group/t/merging-distinct-trees-export-filter/3728/1 "2023-06-22T17:47:27Z")

</div>

```python
GRAMPS: AIO64-5.1.5-1 
Python: 3.6.4 (default, Jan 23 2018, 13:17:37) ... 
BSDDB: 6.1.0 (6, 0, 30) 
sqlite: 3.21.0 (2.6.0)
LANG: en_US.UTF-8
OS: Windows

```

My paternal first cousins have been maintaining a family tree independent of what my parents did – there is VERY little overlap. Is there an easy way to filter out our common ancestors (which is to say our common grandparents) in the export function? Then I can just import that filtered XML file and re-link my cousins to my existing records of our grandparents.

TIA

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [July 22, 2023, 5:48pm UTC](https://gramps.discourse.group/t/merging-distinct-trees-export-filter/3728/2 "2023-07-22T17:48:18Z")

</div>

Closed on July 22, 2023, 5:48pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
