0e20a72001
used to cleanup old files, and replace it by -delete which has been present in our find(1) for ages now.
12 lines
225 B
Bash
Executable File
12 lines
225 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $Id: 120.clean-preserve,v 1.2 1997/08/17 17:55:29 pst Exp $
|
|
#
|
|
|
|
if [ -d /var/preserve ]; then
|
|
echo ""
|
|
echo "Removing stale files from /var/preserve:"
|
|
|
|
cd /var/preserve && find . ! -name . -mtime +7 -delete
|
|
fi
|