#!/bin/sh # # update -- update my home machine files # [ -n "$echo" ] && set -x USAGE='update' case "$1" in -*) echo "$USAGE" >&2 exit 2 ;; *) ;; esac STATUS=0 cd $HOME get diary .plan .addressbook || STATUS=1 # excluding from the list as too dangerous: bat bin emacs pictures src temp # as not needed and slow: Mail-OLD thesis for d in classes committees conferences etc funding jml-releases LibraryPapers papers posters published research students talks tech-reports WWW workshops zotero do cd $d || { STATUS=1; continue; } get -f || STATUS=1 cd $HOME done cd $HOME/temp for d in travel reading refereeing editing do cd $d || { STATUS=1; continue; } get -f || STATUS=1 cd .. done update-mail || STATUS=1 cd $HOME cd $HOME || exit 1 cvsupdate || STATUS=1 svnupdate || STATUS=1 for d in eclipse-galileo/workspace do cd $d svnupdate cd ../.. done if test -d texmf then cd texmf/bibtex/bib/misc || exit 1 make -s all fi update-cvs-master || STATUS=1 update-refine-svn || STATUS=1 exit $STATUS