find / finds /proc: rather annoying
Thu Jan 25 13:50:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
According to fergus on 1/25/2007 6:38 AM:
> I either missed or was too stupid to understand the response, if there
> was one, to an earlier anguished query: is it possible to qualify the
> find /
> with a switch so that /proc is not found? If so can you tell me how?
The same way you tell find to ignore any other directory. 'man find' or
'info find' are your friends.
Try one of these instead, they have different behaviors, but both should
find / -wholename /proc -prune -o \( <your original query> \) -print
find / -xdev <your original query>
Don't work too hard, make some time for fun as well!
Eric Blake email@example.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin