report of charitable contributions

Carson Chittom carson at wistly.net
Sat Mar 10 08:27:32 EST 2012


Johnny <yggdrasil at gmx.co.uk> writes:

> Harold <hh6199 at yahoo.com> writes:
>
>> Thanks, I guess I will have to copy and paste to Excel and insert subtotals.
>
> Another option is to use ledger [1] which can read uncompressed gnucash
> and do highly customised filtering and reporting. In gnucash, chooose
> the option to not compress gnucash, install ledger then do something
> like this from the command line
>
> ,----
> | ledger -f /path/to/your/uncompressed-file.gnucash reg -w -- .*charit.*
> `----
>
> This will list all transactions where the recipient contains
> "charit". Does this meet your need?

One caveat: this won't work unless ledger is compiled with the optional
XML support; probably most of the precompiled binaries *will* have it
compiled in, but the standard package from the OpenBSD project, for
example, doesn't.  To check whether your binary has such support just
enter "ledger --version" at the command prompt and look for "libxml."



More information about the gnucash-user mailing list