On 8/3/06, Stewart Stremler <[EMAIL PROTECTED]> wrote:
begin  quoting Carl Lowenstein as of Thu, Aug 03, 2006 at 02:43:42PM -0700:
> On 8/3/06, maverick <[EMAIL PROTECTED]> wrote:
> >That entree in tmpwtch is in there by defult.
>
> No kidding.
> I was suggesting that other entries can be made in tmpwatch to clean
> other file systems in the same way.

Isn't this almost a find one-liner?

Something like "find $dir -mount \! -follow -atime 30 -exec rm {} \;"?

I suppose I should go look at the tmpwatch package to see how they do
it... if I can find it.  It seems "apt-cache search tmpwatch" isn't
telling me much...

> Top posted because the quoting has gotten out of hand.

Or lack thereof.  Well, lack of quoting indicators by maverick. It
was all making sense up 'till then.

Read $(man tmpwatch)  This describes the program.
Read /etc/cron.daily/tmpwatch.  This is its control file.
Yes you could do it with a find one-liner, but there are some
safeguards built into tmpwatch.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to