aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtoday13
1 files changed, 13 insertions, 0 deletions
diff --git a/today b/today
new file mode 100755
index 0000000..74d3078
--- /dev/null
+++ b/today
@@ -0,0 +1,13 @@
+#!/bin/bash
+mkdir ~/work -p;
+cd ~/work;
+path=`date +'%Y'`/`date +'%m'`/`date +'%d'`
+
+mkdir $path -p
+cd $path
+
+t=~/work/$path
+export t;
+
+rm ~/t;
+ln -s $t ~/t;