quentinsf / icsv2ledger

Interactive importing of CSV files to Ledger
196 stars 70 forks source link

Output overwrites existing file rather than appending #60

Closed peterdc closed 5 years ago

peterdc commented 10 years ago

Happy to make a pull request changing this behavior, but it may change some folks workflows if they are expecting the file to be overwritten. Perhaps there is a particular reason. My expectation would be that if the specified outfile doesn't exist it is created otherwise it is appended to.

petdr commented 10 years ago

If you submit a request which controls the behaviour using an option, I would be happy to pull it.

I personally use the overwrite behaviour, as I have some extra workflow which interleaves all my bank accounts into one.

kalafut commented 8 years ago

I believe the new --incremental flag could address this?