Skip to content

How to disable done.txt and report.txt files #414

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

You must be logged in to vote

All file locations can be configured in the todo.cfg config file (found in various alternative locations in your home directory - you should have created one from the template when you started using todo.txt-cli). The relevant settings are:

export DONE_FILE="/dev/null"
export REPORT_FILE="/dev/null"

With /dev/null, you will never see those files, and anything you archive will be gone immediately. An alternative would be a file under e.g. /tmp to have a chance at getting back the contents, or maybe a file location where your user has no access (like /opt/todo-archive-disallowed) so that you'll get an error message if you accidentally trigger the archiving.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fritzrehde
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