2025-03-14 21:59:59 -06:00
|
|
|
# ledger
|
|
|
|
|
|
|
|
|
|
> A powerful, double-entry accounting system.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://ledger-cli.org/doc/ledger.1.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print a balance report showing totals:
|
|
|
|
|
|
|
|
|
|
`ledger balance --file {{path/to/ledger.journal}}`
|
|
|
|
|
|
|
|
|
|
- List all postings in Expenses ordered by amount:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`ledger register {{expenses}} {{[-S|--sort]}} {{amount}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print total Expenses other than Drinks and Food:
|
|
|
|
|
|
|
|
|
|
`ledger balance {{Expenses}} and not ({{Drinks}} or {{Food}})`
|
|
|
|
|
|
|
|
|
|
- Print a budget report:
|
|
|
|
|
|
|
|
|
|
`ledger budget`
|
|
|
|
|
|
|
|
|
|
- Print summary information about all the postings:
|
|
|
|
|
|
|
|
|
|
`ledger stats`
|