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



On Mon, 16 Jul 2007 07:42:27 -0700, star
<shanmugaster@xxxxxxxxx> wrote:

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

You can use the -maxdepth or -prune options. I'm not sure if -maxdepth
is standard. You use -prune to search files in the current directory like
this:
find * -type d -prune -o -print


--
It is necessary to have purpose.
-- Alice #1, "I, Mudd", stardate 4513.3
.