Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 18:01:13 -0600
From:      Josh Tolbert <hemi@puresimplicity.net>
To:        Vince <jhary@unsane.co.uk>
Cc:        Paul Schmehl <pauls@utdallas.edu>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: find returns unusable result
Message-ID:  <20070301000112.GA74875@just.puresimplicity.net>
In-Reply-To: <45E6113A.2060500@unsane.co.uk>
References:  <D29D90080F802A4D1BBB3EDE@utd59514.utdallas.edu> <20070228231635.GB73748@just.puresimplicity.net> <45E6113A.2060500@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070301000112.GA74875>