[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remove mail periodically?



Hello,

> > If so, then you should be able to simply delete them with an appropriate
> > "find" command, perhaps from a cron job (add a file to /etc/cron.daily).
> > 
> > Try:
> >   find . -mtime 7 -exec ls -l {} \;
> 
> find would return files wich are exactly 7 days old.

Oops. I should checked more carefully. The correct command is:

  find . -mtime +7 -exec ls -l {} \;


I'm an idiot.

Jiri <jiri@baum.com.au>


Reply to: