how to find file older than...

Daniela dgw at liwest.at
Tue Apr 8 12:26:29 PDT 2003


On Tuesday 08 April 2003 21:11, David Banning wrote:
> I want to delete files that are older than 1/2 hr in a particular
> directory. the only way I can think of doing it is by doing
> a "test" and comparing the date to another file. I would then
> have to create -that- comparison file 1/2 hour before.
>
> Is there an easier way?


Look at:

man find
man crontab


More information about the freebsd-questions mailing list