OT: find command permissions: how to exclude dir?

Joe Smith jes at martnet.com
Sun Nov 2 04:00:22 UTC 2008


Dave Burns wrote:
> ...
> Not sure if it is a bug in find or gvfs, but -xdev and -mount do not
> help with this problem.

I've never seen these options work, ever. I sure would like to know why, 
or what I'm doing wrong, it would be handy to be able to use them.

Can you just skip the .gvfs items specifically, by name, with -prune? 
Something like:

find / -name .gvfs -prune -o -print

<Joe




More information about the fedora-list mailing list