from /etc/daily:
# Additional junk directory cleanup would go like this:
#if [ -d /scratch -a ! -L /scratch ]; then
# cd /scratch {
# find . ! -name . -atime +1 -execdir rm -f -- {} \;
# find . ! -name . -type d -mtime +1 -execdir rmdir -- {} \; \
# /dev/null 21; }
* jmc j...@cosmicnetworks.net [090609 19:58]:
from /etc/daily:
# Additional junk directory cleanup would go like this:
#if [ -d /scratch -a ! -L /scratch ]; then
# cd /scratch {
# find . ! -name . -atime +1 -execdir rm -f -- {} \;
# find . ! -name . -type d -mtime +1
jmc wrote:
is this to suggest that the best thing to do is edit /etc/daily and
wedge in the directories i need cleaned up? i'm only asking because my
first thought of course would be to put this code in /etc/daily.local to
ease merging in any diffs that future upgrades might provide.
From man
--- Daniel Ouellet [Tue, Jun 09, 2009 at 08:33:34PM -0400]: ---
jmc wrote:
is this to suggest that the best thing to do is edit /etc/daily and
wedge in the directories i need cleaned up? i'm only asking because my
first thought of course would be to put this code in /etc/daily.local to
4 matches
Mail list logo