Closed chrysle closed 1 year ago
Read closely:
Moves all done tasks
Your tasks are still open, and you don't have any empty lines in the todo file, so nothing happens.
Once you todo.sh do 1
, that (now done) task should be moved by todo.sh archive
. The archive is meant as a long-term record of accomplished things, so tasks that are still open certainly don't belong there.
Thank you! Shouldn't then be described in the documentation that tasks marked by do
are automatically archived?
Or that archive
only needs to be used when tasks are marked manually as completed?
The occasion when archiving happens can be influenced via the -a
and -A
command-line options, or in the config via the TODOTXT_AUTO_ARCHIVE
variable.
Thanks again! Next time I will study the documentation more closely.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
todo.sh won't archive tasks by moving them to done.txt as described here.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
All tasks are moved to done.txt in the same directory.
Which versions todo.sh are you using?
v2.12.0
Which Operating System are you using?
Ubuntu 20.04 LTS
Which version of bash are you using?
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)