Re: problem in using "find" command in HPUX 11



On Jul 16, 7:19 pm, star <shanmugas...@xxxxxxxxx> wrote:
On Jul 16, 5:41 pm, Ed Morton <mor...@xxxxxxxxxxxxxx> wrote:





star wrote:
Hi,

I need to find the files which were modified five minutes beofre in
a particular directory.
I tried using the command "find . -mmin -5 " but i got the error
"find: bad option -mmin".
My machine runs on HPUX 11i.
Is there an alternative way for finding the files which were created
5 minutes ago.
Looking forward for your valuable inputs.
Thanking you in advance.

Thanks
Shan

Create a file using "touch" with a timestamp of 5 minutes ago then use
find -newer.

Ed.- Hide quoted text -

- Show quoted text -

yeah that works perfectly. Just curious to know whether there are any
alternative for -mmin or -cmin in HP UX- Hide quoted text -

- Show quoted text -

One more question. What should be done to make the find command search
only in the current directory and not in the sub directories.

.