aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@fastmailteam.com>2022-08-15 09:01:54 -0400
committerCalvin Morrison <calvin@fastmailteam.com>2022-08-15 09:01:54 -0400
commit256efaa408e2360f3410a38df2ed586ae3568420 (patch)
treec86ca1b70a66e5c8af3910115149d4ad4961096a
parent3217b104a16c548da618862fd5bcd9504cbfea39 (diff)
today
-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;