Re: problem in using "find" command in HPUX 11
- From: Michael Tosch <eedmit@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 15:04:45 +0200
ashu wrote:
Ed Morton wrote:star wrote:Hi,Create a file using "touch" with a timestamp of 5 minutes ago then use
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
find -newer.
Ed.
find -newer is not working for me....
i get following error message.
Usage: find path-list [predicate-list].
please let me know, how do i go about it.
touch .findcmp
sleep 300
find . -newer .findcmp
If you do not want to wait that long:
touch -t `
perl -e '@t=localtime(time-300);
printf "%02s%02s%02s%02s%02s.%02s",$t[5]%100,$t[4],$t[3],$t[2],$t[1],$t[0]'
` .findcmp
find . -newer .findcmp
--
Michael Tosch @ hp : com
.
- Follow-Ups:
- Re: problem in using "find" command in HPUX 11
- From: Michael Tosch
- Re: problem in using "find" command in HPUX 11
- References:
- problem in using "find" command in HPUX 11
- From: star
- Re: problem in using "find" command in HPUX 11
- From: Ed Morton
- Re: problem in using "find" command in HPUX 11
- From: ashu
- problem in using "find" command in HPUX 11
- Prev by Date: Re: HOW to COpy Multiple Files from Tape To Hard Disk. Solaris 10
- Next by Date: Re: problem in using "find" command in HPUX 11
- Previous by thread: Re: problem in using "find" command in HPUX 11
- Next by thread: Re: problem in using "find" command in HPUX 11
- Index(es):
Relevant Pages
|