snoopy@sopwith.UUCP (Snoopy) (12/29/88)
In article <8812021334.AA04237@PacRat.NPAC.syr.edu> jerryp@PACRAT.NPAC.SYR.EDU (Jerry Peek) writes: | 45 3 * * * find / -name "[,#]*" -type f -atime +7 -print | xargs rm -f | |Once a day (at 3:45 AM) it searches the filesystem for files whose name |starts with "#" or "," and which haven't been read or written in 7 days. |It removes those files. Under UTek, and perhaps other systems, writing to a file does not update the atime. This cron entry would remove files written less than 7 days ago as long as they had not been read for 7 days. _____ /_____\ Snoopy /_______\ |___| tektronix!tekecs!sopwith!snoopy |___| sun!nosun!illian!sopwith!snoopy