On Mon, Jun 12, 2023 23:09:31 +0200, Martin Michlmayr wrote:
> * Ankur Sinha <sanjay.an...@gmail.com> [2023-06-12 22:04]:
> > I'm looking for a way to list/filter transactions based on multiple
> > accounts. For example, I'd like to see transactions where money moved
> > from Account A to Account B (or vice versa).
> 
> ledger bal Assets:A -l "any(account =~ /Assets:B/)"

Works like a charm. Thanks Martin!

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/qmgh5wdckmss5orqpm7oqog2oz32ukkwgtwuznwyvx3b7airui%40lqk2wyl6dl3z.

Attachment: signature.asc
Description: PGP signature

Reply via email to