Non-interactive batch-deleting in TaskWarrior

Well, given how much time I spent squashing bugs on my system after updating it, I missed quite a few instances of daily routine tasks (eg. doing my exercises) in TaskWarrior.

Given that I don’t have a GUI installed and TaskWarrior’s support for temporarily disabling the “are you sure?” confirmation is broken, I decided to whip up a tiny little expect script.

Here it is in case anyone else ever wants to batch-delete easily.

CC BY-SA 4.0 Non-interactive batch-deleting in TaskWarrior by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Geek Stuff. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.

All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.