11 lines
241 B
Plaintext
11 lines
241 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# $Id: 120.clean-preserve,v 1.1.1.1 1997/08/12 17:51:15 pst Exp $
|
||
|
#
|
||
|
|
||
|
if [ -d /var/preserve ]; then
|
||
|
echo ""
|
||
|
echo "Removing stale files from /var/preserve:"
|
||
|
cd /var/preserve && find . ! -name . -mtime +7 -exec rm -f -- {} \;
|
||
|
fi
|