From 8fa90243c870eb8d5779061a2562647c73ba114c Mon Sep 17 00:00:00 2001 From: Raffaele Mignone Date: Tue, 12 Oct 2021 03:54:59 +0200 Subject: [PATCH] ledger: add page (#6730) --- pages/common/ledger.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/ledger.md diff --git a/pages/common/ledger.md b/pages/common/ledger.md new file mode 100644 index 000000000..15b3f02e4 --- /dev/null +++ b/pages/common/ledger.md @@ -0,0 +1,24 @@ +# ledger + +> Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. +> More information: . + +- 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`