Command line reports?

Derek Atkins warlord at MIT.EDU
Fri Aug 8 11:27:36 CDT 2003


You could write a short scheme script that:
        initializes gnucash
        loads your data file
        reads the account balance
        prints it out
        exits

But at this point, no, there is not a command-line way to do what
you want.

-derek

Tony Bloomfield <tonyb.lx at btinternet.com> writes:

> I'd like to develop a simple application (preferably as a shell script, though
> Perl or QT would be other possibilities) which can pick up the current (or at
> least fairly recent) balance on a gnucash account.
> On browsing the site, I see a mention of the possibility to run reports from 
> the command line, though it suggests that this is now broken. Is this so? (I 
> don't seem to be able to track down much documentation on command line 
> options within gnucash).
> Otherwise, I could run the Account Summary report manually (from within the 
> GUI), but then the only possibility seems to be to save it as an HTML file, 
> which makes programmatic analysis less than trivial. A straight text file 
> would be much preferable. Any ideas?
> (Hoping I'm not missing something obvious here!)
> 
> Cheers,
> TonyB
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list