What about common diff/patch commands?
Something like:
1. 'gunzip' two .gramps files generated after two sessions (ex: yesterday and today). //work with copies for testing//
$ diff -u yesterday.gramps today.gramps > diff.patch
$ patch yesterday.gramps diff.patch # this should re-generate 'today.gramps' ! it was a sample...
OK, not the nicer way, but I suppose one of the faster which will also let the user control of their data.
If need, we could also try to generate a simple 'person selector' with an existing Gramps XML file? Once selected, a process will look at related references (records), then will generate a quick Gramps XML for an new import. I suppose it is easy to make something like that outside of gramps with some scripts (GNU tools, perl, python, CLI, etc ...)
--- En date de : Mar 18.9.12, Martin Steer <martinsteer@...> a écrit :
> De: Martin Steer <martinsteer@...>
> Objet: Re: [Gramps-users] Easily copy someone from one tree to another?
> À: gramps-users@...
> Date: Mardi 18 septembre 2012, 14h33
> On Mon, Sep 17, 2012 at 11:07:54AM
> -0400, Nathan Hartley wrote:
> >> On 09/16/2012 11:34 PM, Nathan Hartley wrote:
> >> > I am attempting to merge Grandma's 5 separate
> GedCom files representing
> >over
> >> > 2,000 people, some of whom are the duplicated
> among the files, as well as
> >to my tree.
> >
> >On 17 Sep 2012 01:51:34 -0500 Ron Johnson wrote:
> >> What happened when you "just" imported her 5
> GEDCOMs into a copy of your
> >tree?
> >
> >I imported all 5 into the same empty database and have
> been working through
> >merging, purging and ... cleaning/ transforming/
> sanitizing the data, ever
> >since. She often didn't enter things the same way twice
> (nor 5 times for that
> >matter).
> >
> >My current plan is to manually merge duplicates between
> Grandma's database and
> >my own. When I get to branches that only exist in her
> database, I'll re-attempt
> >the filtered export with the Reference Filter set to 'Do
> not include records
> >not linked to a selected person', that Gary mentioned.
> >
> >Any other suggestions?
>
> Maybe not useful to you now, but if I were doing this I'd
> probably merge
> the gedcoms before putting them into gramps. There are many
> tools in the
> linux/unix world, e.g. the diff utility, which could be of
> help, as well
> as some clever text editors. Whether you are prepared to use
> such tools
> I don't know.
>
> You might also look at gedcom-specific software. I think I
> am right in
> saying that PAF, for instance, has some merging capability.
> Others can
> be found on the web, including some purchase ware which make
> large
> claims. Anyway, I'd start by doing a web search on merging
> gedcoms.
>
> M.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's
> security and
> threat landscape has changed and how IT managers can
> respond. Discussions
> will include endpoint security, mobile security and the
> latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gramps-users mailing list
> Gramps-users@...
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>
|