#!/bin/sh # Update my mount archive for all hosts. hosts="`hosts`" DATE=`date "+%Y_%m_%d_%H_%M_%S"` cd ; cd tech/log/mount || exit for i in $hosts ; do echo Doing $i (mkdir $i) rsh $i mount > $i/$DATE ls -l $i done echo "Zero size files, Maybe rsh failed on:" find */$DATE* -type f -size 0c | xargs ls -l