timestamp () { echo "Checking timestamp of last full dump of $1;" if ! test lfull.$which -ot lfull.$1 then which=$1 fi } ok=1 for dsk in `cat allincs` do which='.' . inc.$dsk if test -f "lfull.$which" then echo "Using timestamp of last full dump of $which." else echo >&2 "No full dump of $which done yet." exit 1 fi since="`cat lfull.$which`" doing="incremental of $filesys to $device files changed since dump of $which at `cat lfull.$which`" rm -f log (umask 007; >log) echo Doing "$doing" ...