Join the 85,000 open source advocates who receive our giveaway alerts and article roundups.
'Getting to Done' on the Linux command line
'Getting to Done' on the Linux command line
Learn how to get yourself organized with these ways to track your to-dos from the command line.
Get the newsletter
There is a lot of talk about getting things done at the command line. How many articles are there about using obscure flags with
ls, nifty regular expressions with Sed and Awk, and how to parse out lots of text with Perl? That isn't what this is about.
This is about Getting to Done, making sure that the stuff we have to do actually gets tracked and done using tools that don't require a graphical desktop, a web browser, or an internet connection. To do this, we'll look at four ways of tracking your to-do list: plaintext files, Todo.txt, TaskWarrior, and Org-mode.
Plain (and simple) text
The most straightforward way to manage your to-do list is using a plaintext file in your editor of choice. Just open an empty file and add tasks, one per line. When you are done, delete the line. Simple, effective, and it doesn't matter what you use to do it. There are a couple of drawbacks to this method, though. Once you delete a line and save the file, it is gone forever. That can be a problem if you have to report on what you have done this week or last week. And while using a simple file is flexible, it can also get cluttered really easily.
Todo.txt: Plaintext leveled up
Todo.txt makes it very easy to add tasks, list tasks, and mark them as done:
||add "Some Task" to my todo list|
||list all my tasks|
||list all tasks due on February 15, 2018|
||mark task number 3 as "done"|
The actual list is still in plaintext, and you can edit it with your favorite text editor as long as you follow the correct format.
There is also a very robust help built into the application.
There is also a large selection of add-ons, as well as specifications for writing your own. There are even browser extensions, mobile apps, and desktop apps that support the Todo.txt format.
The biggest drawback to Todo.txt is the lack of an automatic or built-in synchronization mechanism. Most (if not all) of the browser extensions and mobile apps require Dropbox to perform synchronization between the app and the copy on your desktop. If you would like something with sync built-in, we have...
Taskwarrior: Now we're cooking with Python
Taskwarrior is a Python application with many of the same features as Todo.txt. However, it stores the data in a database and has built-in synchronization capabilities. It also keeps track of what is next, notes how old tasks are, and will warn you if you have something more important to do than what you just did.
Installation of Taskwarrior can be done either with your distribution's package manager, through Python's
pip utility, or built from source. Using it is also pretty straightforward, with commands similar to Todo.txt:
||Add "Some Task" to the list|
||List all tasks|
||List all tasks due on today's date|
||Complete task number 3|
Taskwarrior also has some pretty nice text user interfaces.
Unlike Todo.txt, Taskwarrior can synchronize with a local or remote server. A very basic synchronization server called
taskd is available if you wish to run your own, and there are several services available if you do not.
Taskwarrior also has a thriving and extensive ecosystem of add-ons and extensions, as well as mobile and desktop apps.
The only disadvantage to Taskwarrior is that, unlike the other programs listed here, you cannot directly modify the to-do list itself. You can export the task list to various formats, modify the export, and then re-import the files, but it is a lot clunkier than just opening the file directly in a text editor.
Which brings us to the most powerful of them all...
Emacs Org-mode: Hulk smash tasksOrg-mode is by far the most powerful, most flexible open source to-do list manager out there. It supports multiple files, uses plaintext, is almost infinitely customizable, and understands calendars, due dates, and schedules. It is also significantly more complicated to set up than the other applications listed here. But once it is set up, it does everything the other applications do and more. If you are familiar with or a fan of Bullet Journals, Org-mode is possibly the closest you can get on a computer.
Org-mode will run anywhere Emacs runs, and there are a few mobile applications that can interact with it as well. Unfortunately, there are no desktop apps or browser extensions that support Org. Despite all that, Org-mode is still one of the best applications for tracking your to-do list, since it is so very powerful.
Choose your tool
In the end, the goal of all these programs is to help you track what you need to do and make sure you don't forget to do something. While they all have the same basic functions, choosing which one is right for you depends on a lot of factors. Do you want synchronization built-in or not? Do you need a mobile app? Do any of the add-ons include a "must have" feature? Whatever your choice, remember that the program alone cannot make you more organized, but it can help.