-
It seems that so can you please let me know if there is such a plugin or verb in future? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For Unless you enable auto-archiving, the main undo procedure for accidentally done tasks is entirely in External tools, either from the operating system (time machine) or Dropbox can also help you recovering earlier versions of any todo.sh data file. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your details! Auto-archiving is enabled by default, I just turned it off via
|
Beta Was this translation helpful? Give feedback.
todo.txt
is modified by many actions, and in various ways (add tasks, delete tasks, modify parts of a task). Internally, these modifications are done viased
, and that creates thetodo.txt.bak
file.For
done.txt
, it is only ever appended to, via thearchive
action (or auto-archiving if configured). So undoing here means removing task(s) from the end and moving them back totodo.txt
. You don't need a backup file to do this correctly; a simple text editor (orsed
) will do.Unless you enable auto-archiving, the main undo procedure for accidentally done tasks is entirely in
todo.txt
; I usually would not use the.txt.bak
file for that, but rather use the built-inreplace
action or a custom add…