Skip to content

How to disable todo.txt.bak file? #327

Answered by inkarkat
poorlet asked this question in Q&A
Discussion options

You must be logged in to vote

The backup file is left to be able to manually restore the original file after a mistake (e.g. an accidental deletion of task(s)), or environment problems (like running out of disk space or a corrupted write).

I've given a configuration snippet in #312 to turn this off. What's your motivation for requesting this? Can't you just ignore those backup files (knowning they might one day save you from data loss)?

If there's a valid reason for turning off backups (now that this is the second time I've encountered this request), we could introduce a configuration option (e.g. TODOTXT_BACKUP_EXT=.bak) instead of hard-coding it. This would make the reconfiguration both more discoverable (as the var…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by karbassi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #327 on December 12, 2020 16:08.