>>>>> Russell Adams <[email protected]> writes:

> You could always use Org-babel to execute a shell script which calls
> Ledger with your chosen files.

I use Org-babel with Ledger like this:

#+begin_src sh
ledger -f ~/Contracts/XXX/Timelogs/contractors.timelog \
       -p "last month" --depth=1 \
       --format='%(scrub(display_total)),%(account)\n' bal
#+end_src

#+results:

Then I just hit C-c C-c, produce the result, then add them to an ever-growing
log for each month.

John

Reply via email to