How would I delete all recurring tasks in taskwarrior, which are completed, till some date?
I tried:
task Nevena until:07/29/2014 uuids
to get listed those that fall before that date, and collect their id's, so I could pipe them to delete command, but I did not get expected results.
Access the first occurrence of the recurring event that was created in Lightning Experience via the calendar or the Events list view. On the Event detail page, click on the Delete button. Click on the Delete All Following button.
I believe the answer is to delete the parent tasks and then the recurring tasks will no longer get created. You can show all parent tasks with task all +PARENT
. For example:
$ task all +PARENT
ID St UUID Age Done Tags R Due Until Description
21 R 58e83c9b 1.7y R 2018-04-01 replace upstairs air filter
20 R f8b5b0db 1.7y [1] R 2018-04-01 replace upstairs air filter
I somehow had two recurring tasks for the same thing. I can delete them:
$ task delete 21
Delete task 21 'replace upstairs air filter'? (yes/no) yes
Deleting task 21 'replace upstairs air filter'.
Deleted 1 task.
$
$ task delete 20
Delete task 20 'replace upstairs air filter'? (yes/no) yes
Deleting task 20 'replace upstairs air filter'.
Deleted 1 task.
Now the recurring tasks shouldn't show up any longer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With