#!/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

# excluding from the list as too dangerous: bat bin emacs pictures src temp
# as not needed and slow: Mail-OLD thesis
for d in BSDS classes committees conferences etc funding jml-releases LibraryPapers Mail papers posters published research students talks tech-reports WWW workshops temp src emacs temp/travel temp/reading temp/refereeing temp/editing texmf
do
    test -d $d || mkdir $d
    chown -d leavens
    chgrp -d Users
    chmod $d 755
done

