hledger import
all
Import new transactions from one or more data files to the main journal.
More info →Options (2)
-f, --filebooleanShow conversion errors or results while editing `bank.csv.rules`
Example:
watchexec -- hledger {{[-f|--file]}} {{path/to/bank.csv}} print-f, --forcebooleanMark `bank.csv` as all new, as if not yet imported
Example:
rm {{[-f|--force]}} .latest.bank.csvExamples (6)
Import new transactions from `bank.csv`, using `bank.csv.rules` to convert
hledger import path/to/bank.csvShow what would be imported from these two files, without doing anything
hledger import path/to/bank1.csv path/to/bank2.csv --dry-runImport new transactions from all CSV files, using the same rules for all
hledger import --rules-file common.rules *.csvShow conversion errors or results while editing `bank.csv.rules`
Mark `bank.csv`'s current data as seen, as if already imported
hledger import --catchup path/to/bank.csvMark `bank.csv` as all new, as if not yet imported
rm [-f|--force] .latest.bank.csvmade by @shridhargupta | data from tldr-pages