Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danp/ledger-scripts
Scripts I use with ledger
https://github.com/danp/ledger-scripts
Last synced: 26 days ago
JSON representation
Scripts I use with ledger
- Host: GitHub
- URL: https://github.com/danp/ledger-scripts
- Owner: danp
- Created: 2011-08-22T15:36:25.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-22T18:17:39.000Z (about 13 years ago)
- Last Synced: 2023-04-12T16:10:57.938Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 93.8 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ledger-scripts
These are simple scripts I use with [ledger](http://www.ledger-cli.org/).
I keep my ledger data directory in a git repo and my primary ledger data in a file called `finances.ledger` within that directory.
I have the `$LEDGER_FILE` environment variable set to the full path of `finances.ledger`. These scripts rely on that.
## ledger-tidy
`ledger-tidy` uses `ledger print` to sort `$LEDGER_FILE` by posting date and pretty it up.
## ledger-sync
`ledger-sync` runs `ledger-tidy`, commits changes in the working directory, and pushes.
## ledger-entry
`ledger-entry` is a wrapper for `ledger entry`, confirming the output looks good before appending to `$LEDGER_FILE`.