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