> > Funny I have been doing something similar: > > find /home -size +100000 -xdev -printf '%u\t%b\t%AD\t%h/%fd\n' | sort > > Then just send the user an email, but I wanted something a little more > automated.. > cron is your friend. cat >new.crontab < space.hog.notice < find.and.notify.hogs <' | sort > /tmp/fanh.$$ cat /tmp/fanh.$$ >> space.hog.notice for u in `awk '{print $1}' /tmp/fanh.$$ |sort | uniq ` ; do elm $u -s "Space hog alert" < space.hog.notice done cat >home.hog.notice < 100000) { print};};{continue};' > /tmp/fanh.homes.$$ cat /tmp/fanh.homes.$$ >> home.hog.notice for u in `awk '{print $2 }' /tmp/fanh.homes.$$ ` ; do elm $u -s "Home hog alert" < home.hog.notice done - season to taste ;-) (Warning - the above was typed in without runnin it through the shell, there are probably errors - but you get the idea ;-) rc