1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $Id: 140.clean-rwho,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $
| 3# $Id: 140.clean-rwho,v 1.2 1997/08/17 17:55:30 pst Exp $
|
4# 5 6if [ -d /var/rwho ] ; then 7 echo "" 8 echo "Removing stale files from /var/rwho:" 9
| 4# 5 6if [ -d /var/rwho ] ; then 7 echo "" 8 echo "Removing stale files from /var/rwho:" 9
|
10 cd /var/rwho && find . ! -name . -mtime +7 -exec rm -f -- {} \;
| 10 cd /var/rwho && find . ! -name . -mtime +7 -delete
|
11fi 12
| 11fi 12
|