Taskwarrior end of year sprint renaming

The usual yearly ritual:

for o in $(seq 52) 
do
t sprint.is:$o modify sprint:2019-$o rc.bulk=0
done

Here a couple of things are interesting. Firstly, sprint.is:$o means basically sprint==$o. In cases where sprint==2, this helps against catching stuff life sprint==20 in the filter.

rc.bulk=0 is an override of the setting bulk which decides how many changes at the same time is too many. Regardless of the value of the confirmation setting. Here I set it to infinity, and this way I don’t get one question for each sprint.

Also Setting Up Multiple Project Areas with Taskwarrior – Steve Dondley is quite interesting – I’ll do something similar for work and home, except that I’ll use the existing t/tw aliases instead switching it like he does. But I might consider something like this so that t at work gives me the work tasks and my home tasks at home.

cp copy to target directory by overwriting the contents

linux - How to force ‘cp’ to overwrite directory instead of creating another one inside? - Stack Overflow

-T, --no-target-directory treats target as a normal file, not a directory. -v is also quite handy.

Lastly, I’m not sure how does taskwarrior work. When I try to delete ~/.task it gets recreated with the standard files, but empty ones, as if it was a clean taskwarrior install. I don’t see any task-like processes running. I’m not sure how is this possible.

Random / other / toread

Super Guide to the split-window tmux Subcommand (and Beyond) – Steve Dondley looks awesome. In general I’d like to spend 2020 by learning to use existing tools better - the taskwarrior .is attribute is something I had to look for.