Script to remove files older than 30 days?
Walter Dnes
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Sun Jun 11 21:35:34 UTC 2006
This sounds like something that's probably been done for other
reasons. In Gentoo linux, source tarballs and patches are downloaded to
/usr/portage/distfiles. And they accumulate there. I prefer not to
blow them all away immediately. There are often 1-line patches later on
that assume the presence of the original umpteen megabyte tarball. If
it's not there, it has to be downloaded again, and the 1-line patch
applied to it. I think that the best approach would be to delete files
after 30 days or so.
So is thare a generic "aging out" script anywhere?
--
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list