How to separate one file to yearly files

63 views
Skip to first unread message

melb...@gmail.com

unread,
Aug 30, 2017, 9:03:21 PM8/30/17
to Beancount
I just converted my 5 year worth of gnucash data into beancount. I'd like to further separate that out into yearly files, so I'd have Y2017.beancount, Y2016.beancount, etc. Is this possible, and if so how can I do that with beancount? I have been reading about "closing the books" on this mailing list but I am still not sure how I'd do it practically.

Martin Blais

unread,
Aug 31, 2017, 7:06:29 AM8/31/17
to Beancount
If your reason for doing the split is not processing time, then I would suggest you use a single top-level file to include your per-year files and avoid the explicit "closing" of each year; Beancount can do this for you at reporting time. Some people on this list split their files; I've coded this up but I've never used it myself (other than unit tests). Note that all the options and plugins must appear in the top-level file.


On Wed, Aug 30, 2017 at 5:03 PM, <melb...@gmail.com> wrote:
I just converted my 5 year worth of gnucash data into beancount. I'd like to further separate that out into yearly files, so I'd have Y2017.beancount, Y2016.beancount, etc. Is this possible, and if so how can I do that with beancount? I have been reading about "closing the books" on this mailing list but I am still not sure how I'd do it practically.

--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/27e96842-b35c-43ee-817b-5270c6860840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages