68eaf42a45
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
12 lines
242 B
Bash
Executable File
12 lines
242 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $Id: 120.clean-preserve,v 1.1.1.1 1997/08/16 17:04:00 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
|