Read the GnuCash files

Derek Atkins derek at ihtfp.com
Thu Jul 29 04:18:00 EDT 2010


Hi,

On Thu, July 29, 2010 3:59 am, Fabrice Estiévenart wrote:
> Hello,
>
> I'd like coding a script that reads the GnuCash files storing my account
> information (accounts, transactions, ...). I expected a text or XML-like
> file but I can't open it with an editor (char encoding problems). I tried
> to
> unzip but it failed; it really looks like a binary file.

It does look like a Binary file, but it is a gzipped xml file.

> Could you please help me to have a (programmatic) access to this file so
> that I could load it with a script ? I have GnuCash 2.2.9.

gunzip < datafile > datafile.xml

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-devel mailing list