Hacker News new | ask | show | jobs
by hiq 1596 days ago
> I can’t bulk edit transactions to reclassify them after the fact.

If you store your transactions in a plaintext format, why don't you use CLI tools? I just renamed a bunch of accounts using sed for instance, in a hledger journal.

2 comments

Transactions with a specific regex payee need to be reclassified into a specific expense account. Yes, I could write a sed script to do this. No, I will not write a sed script to do this.
UPDATE transactions SET account = "Income" WHERE account = "Expense";
sed 's/Expense:/Income:/'