--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/11a9fd9a-f6b4-42d6-9851-8c9ef21c71acn%40googlegroups.com.
You can do this with autobean-refactor.
Note that if you did it with Beancount as it currently us, like with the code you posted, it would be writing out processed entries. I.e., entries that have been through interpolation, plugins, and such. In most cases, that is not what you want.