Browse Source

Add mid-day syncing

Samuel W. Flint 5 years ago
parent
commit
988ca18c7c
1 changed files with 5 additions and 1 deletions
  1. 5 1
      day

+ 5 - 1
day

@@ -12,7 +12,7 @@ if [ -x "${DISPLAY}" ] ; then
 fi
 
 if [ $# -lt 1 ] ; then
-    echo "$(basename $0) [ start | end ]" >&2
+    echo "$(basename $0) [ start | end | mid ]" >&2
     exit 1
 fi
 
@@ -50,6 +50,10 @@ elif [ $1 == "end" ] ; then
     check_ssh
     sync-dirs . School Projects
     notify "Ending Day" "On $(hostname -s)."
+elif [ $1 == "mid" ] ; then
+    check_ssh
+    sync-dirs org .emacs.d School
+    notify "Mid Day Sync" "On $(hostname -s)."
 else
     echo "$(basename $0) [ start | end ]" >&2
     exit 1