Comparing two Gnucash files

Alois Mahdal Alois.Mahdal.1-ndmail at zxcvb.cz
Thu Jul 11 18:16:54 EDT 2013


Hi!

First, thanks to everyone for hints.

John Ralls <jralls at ceridwen.us> wrote:
> Maf's suggestion to save both as uncompressed XML files is
> good. [...]

Fortunately it turns out that it was (gzipped) XML all the time.

So I ungzipped and used my tool to discover that the versions
most probably *did* diverge, but only so little that I decided
to drop the one which had less additions (about one new
transaction in version A1 to 8 transactions in A2 plus some
reconciliations in A2).

(Imagining the headaches I could have with merging and the
eternal "dirty feeling" resulting paranoia with every "strange"
thing found later --- one missing grocery transaction sure is
a lesser PITA)


> I'll reiterate Maf's warning to make backups. Of course,
> saving as XML does that, and if you save your merge results
> to a third file you're covered.

Yes, backups...  And order.  Note to self: do not ever open the
file outside its own (Dropbox) folder.

Thanks,
aL.

P.S.: Just to complete my story:

I must admit to a terrible sin:  there were backups, but I
deleted them.  Although I probably would keep them in normal
case, but after looking at timestamps, I decided to bet on the
feeling that if they "did" diverge, they could diverge only a
little.  (Hint: both persons that made edits were me so it
made sense to use "feeling".) 

Given that, row of semi-randomly created backups could only
invite me deeper into entanglement between all the tags and
props and duplication :)

-- 
Alois Mahdal


More information about the gnucash-user mailing list