Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xaviershay/gnucash2ledger
Convert GnuCash files to a format supported by the ledger command line application
https://github.com/xaviershay/gnucash2ledger
Last synced: 23 days ago
JSON representation
Convert GnuCash files to a format supported by the ledger command line application
- Host: GitHub
- URL: https://github.com/xaviershay/gnucash2ledger
- Owner: xaviershay
- Created: 2010-05-25T03:28:03.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T03:07:20.000Z (about 8 years ago)
- Last Synced: 2024-10-06T03:13:46.560Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 102 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README
- Changelog: CHANGELOG
Awesome Lists containing this project
- awesome-starred - xaviershay/gnucash2ledger - Convert GnuCash files to a format supported by the ledger command line application (others)
README
= gnucash2ledger
A command-line script that converts GnuCash v2.2.9 data files to human readable ledger format. Ledger v2 did this natively, but it has been removed from the v3 branch with the intention of replacing it with a script just like this one. This project is bridging the gap until such a script exists.
== Quickstart
gem install gnucash2ledger
cat your/gnucash/datafile | gunzip | gnucash2ledger > new-ledger.dat
ledger -f new-ledger.dat bal== Developing
You'll need git and bundler. You probably already have them eh.
git clone git://github.com/xaviershay/gnucash2ledger.git
cd gnucash2ledger
bundle install
bundle exec rake== Status
Works for me on my Snow Leopard mac.
* Normal transactions
* Reconciled transactions (if any split in gnucash is marked as reconciled, the entry in ledger is marked as cleared)
* Commodities (only the initial price is used, doesn't convert price history yet)== References
* http://www.gnucash.org/
* http://wiki.github.com/jwiegley/ledger/