Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Grep entire file system
Thank you all very much for the examples. It really helped!
Ron
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of
Jared.Still_at_radisys.com
Sent: Thursday, August 12, 2004 4:50 PM
To: oracle-l_at_freelists.org
Subject: Re:Grep entire file system
> find ./ -type f -exec grep -i -l 'sqlplus' {} \;
> ----------------------------------------------
Friends don't let friends use -exec
This is several orders of magnitude faster:
find . -type f -print | xargs grep -i sqlplus
Jared
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Aug 13 2004 - 09:04:02 CDT
![]() |
![]() |