- --funcall 'org-icalendar-combine-agenda-files'
-with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical rsync -av "$TMPDIR/org.ics" rzlab.ucr.edu:debian/.google_ical*/org.ics
+ --eval "(setq org-icalendar-exclude-tags '( \"habit\" ) )" \
+ --eval '(org-icalendar-combine-agenda-files)' \
+ --eval '(org-save-all-org-buffers)';
+if [ "$HOSTNAME" = "rzlab" ]; then
+ with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m rsync -av "$TMPDIR/org.ics" debian/.google_ical*/org.ics
+else
+ with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m rsync -av "$TMPDIR/org.ics" rzlab.ucr.edu:debian/.google_ical*/org.ics
+fi;