After fiddling around with the todo.sh script some more I got the idea to create a digital tickler-system.

I have not used a digital or non-digital tickler system before (I tried the mail.app IMAP version, but it just didn't stick).

First, you need to add the following line to .todo:
TICKLER_DIR="/Users/yourname/GTD/Tickler"

or whichever folder you'd like to use.


Then, create a foldertree like:

Tickler
days
01
02
....
30
31
months
01
02
...
10
11
12
today

You can use a short bash-script for that.

Next, download tickler.sh and place it somewhere you can find it (right next to todo.sh, I'd say)

Next, patch todo.sh with the .diff:
patch todo.sh < todotickler.diff

Setup all done!

So how do you use this?

Pretty simple:
tickler.sh checks the date, and then checks the appropriate days and months folder for the presence of a .txt file with the same name. For todays date, it would check '/Users/yourname/GTD/Tickler/days/20/20.txt' and '/Users/yourname/GTD/Tickler/months/07/07.txt'. The script will take the contents of them and appends it to todo.txt .

It doesn't stop there!

It also checks the entire directory and moves all files to the '/Users/yourname/GTD/Tickler/today' folder and makes a todo stating 'check /Users/yourname/GTD/Tickler/today/$filename'

So how do you get things into the .txt files?

Easy, the patch adds a 'tickle' option to 'todo.sh'.

Say your todo-list looks like:

04 (A) get rich
05 (A) take over the world p:world domination
03 buy DVD
06 fold laundry
07 wash dog
02 vacuum p:household
01 x 2006-07-14 do dishes p:household

Type the following command:
todo tickle 7

The script will then ask you if you want to put it in a day or a month folder (press 'd' or 'm') and which number and then proceed with moving the task to the .txt file.
You can skip the questions by typing:
todo tickle 7 d25

This moves task 7 to /Users/yourname/GTD/Tickler/days/25/25.txt

For month-folder use something like:
todo tickle 7 m8

Leading zero's get added when needed.


mail facebook google identi.ca stumble tumblr twitter print

2 Responses

  1. scatterlined says:

    Thanks, I'll be trying it out soon.

    One note on the ticklerfolders.sh script: When I tried to run it for the first time it complained that I didn't have the days and months folders in my TICKLER_DIR. That was easily solved by adding -p to all of the mkdir calls.

  2. bmcquist says:

    I tried setting this up in Leopard. Im pretty new to scripting and all that but got the folder script to work, and have had my todo.sh working for awhile now. I get this error when I try to patch...

    patching file todo.sh
    Hunk #1 FAILED at 414.
    1 out of 1 hunk FAILED—saving rejects to file todo.sh.rej

    this is first 10 or so lines of the .rej file

    ***************
    *** 414,419 ****
    [[ $VERBOSE = 1 ]] && echo "TODO: Report file updated."
    cat "$REPORT_FILE"
    cleanup;;
    * )
    usage
    esac
    --- 414,460 ----
    [[ $VERBOSE = 1 ]] && echo "TODO: Report file updated."
    cat "$REPORT_FILE"
    cleanup;;

    Any thoughts?

    Thanks

Trackbacks/Pingbacks

Leave a Reply

  • search

  • archives

  • categories

  • Receive posts per e-mail: