I am using GnuCash 2.6.7 under Mac OS X 10.10.4 to do my personal finance. I have a fairly large account structure by now with many expense accounts to track different categories of spending.
I would like to use ledger, or preferably hledger, to work on that data which I have created with GnuCash.
Is there a way to import my accounts, transactions etc into (h)ledger? What is the most painless/recommended way to do it?