#! /bin/bash rm pending.data completed.data undo.data echo 'data.location=.' > x echo 'color=off' >> x echo 'color.summary.background=on gray3' >> x # Basic usage echo Basic usage task rc:x add Select a free weekend in August task rc:x add Select and book a venue task rc:x add Come up with a guest list task rc:x add Mail invitations task rc:x add Select a caterer task rc:x list task rc:x log Order a special cake task rc:x 4 duplicate /Mail/Design/ task rc:x 4 duplicate /Mail/Print/ task rc:x list task rc:x 3 done task rc:x list # Projects echo Projects task rc:x add Pay teh rent on teh 31st task rc:x 7 /teh/the/g task rc:x list task rc:x 7 project:home echo 'All' | task rc:x 1-6 project:party task rc:x projects task rc:x list project:home task rc:x li pro:par # Priorities echo Priorities echo 'All' | task rc:x 1-3,5 priority:H task rc:x list task rc:x 3 pri: # Tags echo Tags task rc:x list echo 'All' | task rc:x 3,5,6 +mall task rc:x long task rc:x list +mall task rc:x 3 -mall # Modifications echo Modifications echo 'Yes' | task rc:x 7 Pay rent at the end of the month task rc:x add music task rc:x 8 prepend Select some task rc:x 8 append for after dinner task rc:x list #task rc:x edit #task rc:x add Hire a band? #task rc:x add Hire a band\? #task rc:x add "Hire a band?" task rc:x add -- Hire a band\? +dj echo 'y' | task rc:x undo echo 'y' | task rc:x 1 delete echo 'y' | task rc:x undo # Info echo Info task rc:x 1 info task rc:x stats # Annotations echo Annotations task rc:x 1 annotate the 12th looks good sleep 1 task rc:x 1 annotate or the 13th task rc:x list task rc:x list rc.annotations:full task rc:x list rc.annotations:sparse task rc:x list rc.annotations:none task rc:x 1 denotate 13th task rc:x list # Configuration echo Configuration task rc:x show echo 'y' | task rc:x config answer 42 task rc:x show answer echo 'y' | task rc:x config answer task rc:x rc.report.list.sort=description+ list # Defaults echo Defaults echo 'y' | task rc:x config default.command list task rc:x echo 'y' | task rc:x config default.priority H echo 'y' | task rc:x config default.project Work task rc:x add New task task rc:x list echo 'y' | task rc:x undo echo 'y' | task rc:x config default.priority echo 'y' | task rc:x config default.project # Aliases echo Aliases echo 'y' | task rc:x config alias.zzz list taks rc:x zzz # Color echo Color echo 'y' | task rc:x config color on task rc:x list task rc:x 1 bg:on_red task rc:x list task rc:x 1 bg: task rc:x color task rc:x color white on red task rc:x color legend #vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x task rc:x color legend task rc:x list #vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme sed 's/blue/red/' x >x2 && mv x2 x task rc:x color legend task rc:x list #vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme sed 's/red-//' x >x2 && mv x2 x task rc:x list task rc:x "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list #man task-color # Active tasks echo Active tasks task rc:x 2 start task rc:x list task rc:x active task rc:x 2 stop # Due dates echo Due dates task rc:x 1 due:7/31/2010 task rc:x 1 due:2wks task rc:x 1 due:-2wks task rc:x 1 due:eom task rc:x 2 due:8th task rc:x 2 due:sunday task rc:x 5 due:eow task rc:x list task rc:x overdue task rc:x rc.dateformat.report:Y-M-DTH:N:SZ list # Calendar echo Calendar task rc:x calendar #vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x task rc:x calendar task rc:x cal 2010 task rc:x rc.calendar.details:full cal task rc:x rc.calendar.holidays:full cal # Recurrence echo Recurrence task rc:x 7 info task rc:x 7 due:eom recur:monthly task rc:x 7 task rc:x 7 until:eoy task rc:x recurring task rc:x add Pay taxes due:4/15/2007 recur:yearly task rc:x long printf "y\ny\n" | task rc:x 11 delete # y, y task rc:x list # Shell echo Shell #task rc:x shell #> projects #> tags #> list #> quit # Special tags echo Special tags task rc:x 6 +nocolor task rc:x list task rc:x tags task rc:x 6 -nocolor # Waiting echo Waiting task rc:x add Look for new apartment due:eoy task rc:x list task rc:x 10 wait:12/1/2010 task rc:x list task rc:x waiting task rc:x add Do something in a few seconds task rc:x 11 wait:5s task rc:x list sleep 5 task rc:x list task rc:x 11 rc.confirmation:no delete # Dependencies echo Dependencies # Reports echo Reports task rc:x minimal task rc:x ls task rc:x list task rc:x long task rc:x all task rc:x completed task rc:x recurring task rc:x waiting task rc:x blocked task rc:x oldest task rc:x newest task rc:x timesheet task rc:x next # Custom report echo Custom report echo 'report.foo.description=My own report' >> x echo 'report.foo.columns=id,entry,description' >> x echo 'report.foo.labels=ID,Entered,Description' >> x echo 'report.foo.sort=entry+,description+' >> x echo 'report.foo.filter=status:pending' >> x task rc:x help | grep foo task rc:x show report.foo task rc:x foo # Charts echo Charts task rc:x history task rc:x history.annual task rc:x ghistory task rc:x ghistory.annual task rc:x rc.color.summary.background:"on gray3" summary # Advanced filters echo Advanced filters task rc:x list task rc:x list invit task rc:x list description.contains:invit task rc:x list pro:party task rc:x list pro.is:party task rc:x list pro.not:party task rc:x list pro:party priority.over:L task rc:x list pro:party limit:2 task rc:x list limit:page task rc:x all status:pending task rc:x all status:waiting # Import/export echo Import/export # Help echo Help task rc:x help #man task #man taskrc #man task-color #man task-tutorial #man task-faq # Wrap up echo Wrap up task rc:x version exit