Using "t" to manage personal tasks

Using "t" to manage personal tasks


The t task manager boasts two distinctive traits: an impossibly short name and supreme ease of use. This no-frills Python script lets you keep tabs on your tasks and to-dos using a handful of commands.

Deploying t is not particularly difficult either. Grab the latest version of the script from the project's website and unpack the downloaded archive. Switch to the resulting directory in the terminal and run the python setup.py install command as root to install the script. Next, create a directory for storing tasks: mkdir ~/tasks. Add then the following line to the ~/.bashr file:

alias t='python /usr/local/bin/t --task-dir ~/tasks --list tasks'

t is now ready to go, and you can start populating it with tasks using the t [task] command:

t Read a book

To list all tasks, use the t command, and you can edit an existing task with the t -e [id] [new description] command:

t -e 1 Read a thick book

You can mark a task as done using the t -f [id] command. Need to display the total task count? Use the t | wc -l command. You can use t to maintain a multiple task list, too. To do this, you need to add a few more aliases to the ~/.bashr file:

alias s='python ~/path/to/t.py --task-dir ~/tasks --list scribbles'
alias r='python ~/path/to/t.py --task-dir ~/tasks --list reading'

The aliases above allow you to add tasks to the scribbles and reading lists using the s and r commands respectively.

Time management resources

  • Time management software. An introduction on techniques to figure out how you are spending your time.
  • Effective time management. A great, short introduction on time management, context switching, and more
  • Good time management. An article about philosophies of time management, from Randy Poush's famous lecture to the GTD method.
  • Online time management. An article on the practicality of using timers and the importance of time management in project management.
  • Time management online. Why managing time online makes it much easier and powerful when working in a team.

.

Category: 
License: 

Author information

Dmitri Popov's picture

Biography

Dmitri Popov has been writing exclusively about Linux and open source software for many years, and his articles have appeared in Danish, British, US, German, and Russian magazines and websites. Dmitri is an amateur photographer, and he writes about open source photography tools on his Scribbles and Snaps blog at scribblesandsnaps.wordpress.com