Using Hledger.
Is there any easy way of gettinng a count of the amount of transactions recorded durig e.g a year?
Using Hledger.
Is there any easy way of gettinng a count of the amount of transactions recorded durig e.g a year?
Some ideas:
hledger stats date:2024
hledger print date:2024 | grep ^2 | wc -l
To count postings, eg in an account:
hledger balance checking date:2024 --count
hledger register checking date:2024 | wc -l
I would do this:
hledger print date:"this month" -O json | jq length
Thank you both!
Knew about --count
but must have missed the stats
function.