junk directory cleanup question

2009-06-09 Thread jmc
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; }

Re: junk directory cleanup question

2009-06-09 Thread Jim Razmus
* 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

Re: junk directory cleanup question

2009-06-09 Thread Daniel Ouellet
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

Re: junk directory cleanup question

2009-06-09 Thread jmc
--- 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