A plain text task manager

What's todo.sh?

todo.sh is a powerful shell script that adds to, edits, sorts and searches your todo.txt file from the command line. Mark items as complete and archive them into a done.txt file with todo.sh as well.

todo.sh Screencast

See todo.sh in action here:

The Camtasia Studio video content presented here requires a more recent version of the Adobe Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Note: In the setup shown, I've aliased todo.sh to t to reduce typing.

Download todo.sh

Download the full todo.sh package. (Or, just get todo.sh or view the browser-friendly todo.sh) See the CHANGELOG for what's new.

Installation

  1. Unzip todo.zip. Using the text editor of your choice, edit the section of the todo.cfg file that reads:
    # Your todo.txt directory
    TODO_DIR="/Users/gina/Documents/todo"  
    
    Replace "/Users/gina/Documents/todo" to wherever your todo.txt lives.

    Mac users, here's help viewing/editing files and folders that start with a dot.

  2. Make the todo.sh script exectuable:
    $ chmod +x todo.sh
  3. Move the todo.cfg configuration file to your home directory:
    mv todo.cfg ~/.
  4. Backup your todo.txt before using todo.sh. Type ./todo.sh to see the usage message.

Tips and tricks

Platform compatibility

Todo.sh has been tested on:

Let us know if you're using todo.sh successfully anywhere else.

Developers

If you're interested modifying or enhancing todo.sh, join the mailing list to discuss or code one of the future development proposals.

A set of (admittedly incomplete and primitive) todo.sh tests are available for testing todo.sh modifications.

Known bugs

Author

Unless otherwise noted, all the todo.txt scripts published herein are authored by Gina Trapani and licensed under the GNU General Public License.

Scripts and text originally published as an ongoing series at Lifehacker.com. Special thanks to all the Lifehacker readers who contributed to Todo.sh by fixing code, adding features, reporting bugs and making suggestions.

All software comes as is with no warranty. Do back up your todo.txt before you read another word. Questions, support and help is available in the Todo.txt Mailing list.