diff options
Diffstat (limited to 'kanbanscripts/addtask.sh')
-rwxr-xr-x | kanbanscripts/addtask.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kanbanscripts/addtask.sh b/kanbanscripts/addtask.sh new file mode 100755 index 0000000..499784b --- /dev/null +++ b/kanbanscripts/addtask.sh @@ -0,0 +1,9 @@ +#! /bin/sh +FILENAME="$HOME/gtd/${2:-WIR} - $1.txt" +echo $FILENAME +touch "$FILENAME" +echo "@recorded:$(date '+%Y-%m-%d')" >> "$FILENAME" +if [ $# -eq 3 ] + then + printf "$3" >> "$FILENAME" +fi |