Re: How to find files more than 3 minutes old?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > Re: How to find files more than 3 minutes old?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: How to find files more than 3 minutes old?  
Alan Connor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-24-04 08:02 AM

On Thu, 23 Dec 2004 21:48:46 GMT, Dan Mercer <dmercer@mn.rr.com> wrote:
>
>
>
> "Alan Connor" <zzzzzz@xxx.yyy> wrote in message news:YPGyd.7696$9j5.6467@n
ewsread3.news.pas.earthlink.net...
>: On Thu, 23 Dec 2004 13:00:19 -0800, sfrady <sfrady@mail.sdsu.edu>
>: wrote:
>:
>: > I have a requirement to find files in a busy directory on our
>: > Unix server and delete them if +3 minutes old.  I currently
>: > have scripts which delete files more than so many days old, but
>: > don't know the ksh syntax for getting the test down to minutes.
>: >
>: > If anyone knows how to do this, I'd really appreciate some
>: > advice!  Thank you, Susan Frady San Diego State University
>: >
>:
>: Your subject and question contain direct quotes from the find
>: man page.
>:
>: Maybe you should read it.
>:
>: man find
>:
>: But, of course, you already have, haven't you, Matt?
>
> Hey,  snotty.  Only GNU find has switches for minutes.  If he is using
> a SysV find,  it's no help.

I beg your pardon! My nose is not running.

:-|

Pretty sure this is Matt again, pretending he's clever.

Could be wrong, though, and you are right to take no chances.

My apologies to the OP if I am.

Can you _really_ imagine someone who can't handle this common
scripting problem having administrative priveleges and responsibilities on a
 "busy Unix server"?

<snip>

AC






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register