Re: can I exclude a directory with find?



Thu, 13 Jan 2011 07:20:35 +0000, unruh did cat :

On 2011-01-13, Todd <Todd@xxxxxxxxxxx> wrote:
Hi All,

I am not having any luck with the man page.

Using the "find" command, is there a way I can tell "find" not to look
in a particular directory?

man find
--exclude

(eg --exclude=**/directoryname
)

uh? what brand/type/version of 'find' is it?
did you mean 'tar' or did I miss a new 'find'?
.