× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



To automate what Scott was leading into, is actually very simple:

find $(ls / | grep -v '^QNTC$') -name qpwdsync.log -type f

Simple, tested and working.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
If you lined up all the cars in the world end to end, someone would be
stupid enough to try to pass them, five or six at a time, on a hill, in the
fog.


The first parameter you pass to 'find' tells it which directory to look
in. Try doing something like this:

find /home /usr /tmp /QOpenSys /QDLS -name qpwdsync.log -type f

I realize that this is more cumbersome than telling it to exclude
something, but... I don't know of a way to do that with 'find'.


On 5/26/2010 3:09 PM, rob@xxxxxxxxx wrote:
Trying to use the find command to find a file in my i, regardless of
which
directory it might be in.
I want to omit certain directories like /QNTC because that's REALLY
dragging on the process.
find / -name qpwdsync.log -type f

Rob Berendt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.