Looking for reaper skeleton

David Kuder david at indetech.com
Tue Sep 11 09:07:42 AEST 1990


To minimize disk usage here we use a "reaper".  This is a script that
runs late at night to get rid of files that can be safely removed.
For instance we remove all core files that are more than one day old
and all GNU emacs litter that is more than 5 days old.

IF it were that simple then a "find" would do the trick.  But
recently it has gotten more complicated and maintaining a collection
of
	\( -name '*pat1*' -mtime +5 \) -o
stuff is getting old.

Thus, the direct question:  Does anyone have a generic, readily
configurable reaper?

Or: Does anyone have a skeleton for a find equivalent written in Perl?
I think I could do what I want from that.
-- 
David A. Kuder              Looking for enough time to get past patchlevel 1
415 438-2003  david at indetech.com  {uunet,sun,sharkey,pacbell}!indetech!david



More information about the Comp.unix.admin mailing list