Closed jungle-boogie closed 2 months ago
And of course I would eventually like to know how much I spent at Costco for a given month/year/week, etc.
I can probably do that with tags, if i were to add a tag to every transactions, but I would think the description
field would be good enough to filter and contain all this data.
ah, ha!
This does it: hledger bal desc:Costco --count
Hello,
Assume I want to see how many times I've been to costco and I want to use
hledger
to do. I know I can grep/rg the file, but is there anhledger
way to give me a count?hledger print desc:costco
will list all the transactionshledger register -m costco
will tell me the most recent amount I've spenthledger bal --count
shows total number of transactions across all accountsWhat's the right command to tell me how many times I've been to costco?
Thanks!