-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to [email protected] on 9/19/2009 10:16 AM:
> So it's a general
>        find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression]
> case, but with an added feature,
> -ignore-unreadable-directories

Find can already do that without the need for an additional option.  You
just have to specify the right predicates.

Untested, but:

- -type d \! -readable -prune

seems like it should do the trick of telling find to not descend into
unreadable directories.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq1BeIACgkQ84KuGfSFAYAWBgCfdJ24TtXM7i+ijd7vBAWvjGAv
UlEAoKkKWbJDxUvuXezoyhML87JKYEVr
=Dryz
-----END PGP SIGNATURE-----


Reply via email to