Uhmmmm -prune
find /fu/bar ( -type d -name .snapshot -prune ) -o ...
-prune Always yields true. Does not examine any directories or files in the directory structure below the pattern just matched. (See EXAMPLES). If -depth is specified, -prune will have no effect.
As the man page says. the syntax is painful... <scw>
On Fri, Nov 14, 2003 at 08:05:53AM -0500, Darragh, Stephen J wrote:
Hi,
I am having trouble using unix find and excluding anything in .snapshot.
I can't see any flag for exclude
Suggestions???
Thanks Stephen Darragh