On Mon 22 May 2006, Brian White wrote:
> I'd like to see TmpReaper extended to be more versatile.
> 
> 1) Allow different time checks for different directories: It's 
> concievable that I would want files in /var/tmp to live longer than 
> those in /tmp.

Best (most simple) way to do that is to have different invocations of
tmpreaper, with different parameters. The given cron job is just for
convenience, no reason why you can't run it multiple times with
different parameters...

> 2) Allow both atime and mtime checks: This would allow me to delete 
> files that have not been modified in 7 days OR accessed in 3 days.

That would be interesting :)


> I know I should "stop complaining and write some code", and I may do 
> that.  I post it here for tracking.

Cool.


thanks,
Paul Slootman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to