Issue #198: bean-extract ignores output file arguments, redirects everything to stdout (blais/beancount)

62 views
Skip to first unread message

Lluis Pamies-Juarez

unread,
Oct 17, 2017, 12:46:47 AM10/17/17
to bean...@googlegroups.com
New issue 198: bean-extract ignores output file arguments, redirects everything to stdout
https://bitbucket.org/blais/beancount/issues/198/bean-extract-ignores-output-file-arguments

Lluis Pamies-Juarez:




llpa...@gmail.com

unread,
Oct 19, 2017, 1:46:52 AM10/19/17
to Beancount
I think I still don't understand the expected workflow for bean-extract.
How do people automatize the process of running bean-extract periodically and appending the result to their ledger?

Justus Pendleton

unread,
Oct 19, 2017, 2:03:35 AM10/19/17
to Beancount


On Thursday, October 19, 2017 at 12:46:52 PM UTC+7, llpa...@gmail.com wrote:
I think I still don't understand the expected workflow for bean-extract.
How do people automatize the process of running bean-extract periodically and appending the result to their ledger?

I don't use bean-extract but I would assume you just use shell redirects. That is

bean-extract ...arguments... >> my.beanfile

llpa...@gmail.com

unread,
Oct 19, 2017, 2:08:31 AM10/19/17
to Beancount
I guess I'll not be using "extract" from the CLI either. Thanks for the fast response.

Martin Blais

unread,
Oct 22, 2017, 2:21:48 PM10/22/17
to Beancount
- You write a .import config file which is essentially a Python list of importer objects configured with your account names
- You run bean-extract with it and with some directory when your download stuff from your bank/credit cards
- bean-extract looks at all the files in that directory and identifies which file it to be processed by which importer ("identify")
- bean-extract then runs each of the matching importers on them
- you redirect that output to a file
- you then manually eyeball (they like to say "reconcile") for correctness, complete ("categorize") and copy paste the imported transactions in the relevant part of your .beancount file, in the manner that suits you best






--
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/44365d9c-8644-42b0-8b7d-8994b9de296c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages