* nug get <nugget.musta...@gmail.com> [2019-12-20 03:58]:
> I migrated my 3 years of Gnucash records to beancount. It's all one
> long list of transactions sorted by date. I'd like to separate my
> cash and bank account transactions into two different files.

You could try:

ledger -f all.ledger print --raw account1 > account1.ledger
ledger -f all.ledger print --raw account2 > account2.ledger

However, ledger print loses some information, so depending on your
ledger file this approach may or may not work.

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20191220120131.GE13721%40jirafa.cyrius.com.

Reply via email to