Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 448 Bytes

ledger.md

File metadata and controls

18 lines (13 loc) · 448 Bytes

Ledger

# Exact match
ledger -f bank.ldg -e 07/03/14 reg ^Bank$

# Exclude other matches
ledger -f bank.ldg -e 07/03/14 reg Bank and not Exp:Bank

# Use "--payee=code -P" to subtotal on inv number
ledger -f inv.ldg  --payee=code -P -b "01/07/13" -e 1/7/14 reg

# Test time periods (shows example matching dates)
ledger period "every 12 months   from 1/7/11"

# Use time period
ledger -f inv.ldg reg --period "every 12 months from 1/7/11"