1997-08-16 17:04:02 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
1997-08-17 17:55:45 +00:00
|
|
|
# $Id: 120.clean-preserve,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $
|
1997-08-16 17:04:02 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
if [ -d /var/preserve ]; then
|
|
|
|
echo ""
|
|
|
|
echo "Removing stale files from /var/preserve:"
|
1997-08-17 17:55:45 +00:00
|
|
|
|
1997-08-16 17:04:02 +00:00
|
|
|
cd /var/preserve && find . ! -name . -mtime +7 -exec rm -f -- {} \;
|
|
|
|
fi
|