1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ledger.md

25 lines
532 B
Markdown
Raw Normal View History

2021-10-12 03:54:59 +02:00
# ledger
> A powerful, double-entry accounting system.
2021-10-12 03:54:59 +02:00
> More information: <https://www.ledger-cli.org>.
- Print a balance report showing totals:
`ledger balance --file {{path/to/ledger.journal}}`
- List all postings in Expenses ordered by amount:
`ledger register {{expenses}} --sorted {{amount}}`
- 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`