|
@@ -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
|