[SunHELP] Help find command?

Meng, Andrew sunhelp at sunhelp.org
Mon Sep 24 14:26:51 CDT 2001


Paul,

Thanks!

Andrew

-----Original Message-----
From: Paul Dlug [mailto:pdlug at portjeff.net]
Sent: Monday, September 24, 2001 3:23 PM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] Help find command?


>Can anyone tell me how can find more than type using find command? 
>
>find /project -name "*.java *.c makefile" -print  does not work.
>

You can use the -o (OR) option, place it in parentheses also to ensure it's
grouped properly.

Example:
find /project \( -name "*.java" -o -name "*.c" -o -name "makefile" \) -print
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
 
**************************************************************************
The Information transmitted herewith is sensitive information intended only
for use to the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon, this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.



More information about the SunHELP mailing list