find returns unusable result

Josh Tolbert hemi at puresimplicity.net
Thu Mar 1 00:04:20 UTC 2007


On Wed, Feb 28, 2007 at 11:33:14PM +0000, Vince wrote:
> or just
> find /path/to/dirs -type d -exec chmod 755 {} \;
> should do it.

Fair enough; I generally prefer the xargs method in case I have to do any more
processing later. Also, xargs' batching may potentially save you a bit of
time, but I doubt that'd be noticable.

Thanks,

Josh
-- 
Josh Tolbert
hemi at puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
    -- Helen Keller


More information about the freebsd-questions mailing list