6 . ~/.ssh/ssh_agent_info_${HOSTNAME}
12 if [ "$HOSTNAME" = "rzlab" ]; then
13 with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m mr -d ~/projects/org-notes up;
15 with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1
17 yes|with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 3m emacs --batch -l ~/.emacs \
18 --eval '(setq org-icalendar-combined-description "Don Armstrong’s Calendar (org-mode)")' \
19 --eval '(setq org-icalendar-combined-name "Don Armstrong (org-mode)")' \
20 --eval "(setq org-icalendar-combined-agenda-file \"$TMPDIR/org.ics\")" \
21 --eval "(setq org-icalendar-exclude-tags '( \"habit\" ) )" \
22 --eval '(org-icalendar-combine-agenda-files)' \
23 --eval '(org-save-all-org-buffers)';
24 if [ "$HOSTNAME" = "rzlab" ]; then
25 with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m rsync -av "$TMPDIR/org.ics" debian/.google_ical*/org.ics
27 with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m rsync -av "$TMPDIR/org.ics" rzlab.ucr.edu:debian/.google_ical*/org.ics