Re: delelte dirs older than 2 hours by find with solaris 9
- From: Tim Bradshaw <tfb@xxxxxxxx>
- Date: Mon, 27 Nov 2006 20:58:13 +0000
On 2006-11-27 20:46:45 +0000, Darren Dunham <ddunham@xxxxxxxxxxxxxxxx> said:
Even if you don't have access to a 'find' that accepts minutes, you can
use 'touch' to create a file of the correct age. Then use find -newer
(or ! -newer) to select files newer or older than that point in time.
Now that is a really neat trick. Do you know (could be easily checked obviously but I'm not near a Solaris box that is on) if it is smart enough not to stat the file repeatedly?
--tim
.
- Follow-Ups:
- Re: delelte dirs older than 2 hours by find with solaris 9
- From: Darren Dunham
- Re: delelte dirs older than 2 hours by find with solaris 9
- References:
- delelte dirs older than 2 hours by find with solaris 9
- From: Frank Schmitz
- Re: delelte dirs older than 2 hours by find with solaris 9
- From: Darren Dunham
- delelte dirs older than 2 hours by find with solaris 9
- Prev by Date: Re: delelte dirs older than 2 hours by find with solaris 9
- Next by Date: Re: Using SSH and get GUI interface
- Previous by thread: Re: delelte dirs older than 2 hours by find with solaris 9
- Next by thread: Re: delelte dirs older than 2 hours by find with solaris 9
- Index(es):