From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 00:04:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CDFE16A41F for ; Thu, 1 Mar 2007 00:04:20 +0000 (UTC) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (just.puresimplicity.net [68.77.126.251]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5E013C481 for ; Thu, 1 Mar 2007 00:01:13 +0000 (UTC) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (localhost.puresimplicity.net [127.0.0.1]) by just.puresimplicity.net (8.13.8/8.13.6) with ESMTP id l2101DmJ074971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Feb 2007 18:01:13 -0600 (CST) (envelope-from hemi@just.puresimplicity.net) Received: (from hemi@localhost) by just.puresimplicity.net (8.13.8/8.13.6/Submit) id l2101DTC074970; Wed, 28 Feb 2007 18:01:13 -0600 (CST) (envelope-from hemi) Date: Wed, 28 Feb 2007 18:01:13 -0600 From: Josh Tolbert To: Vince Message-ID: <20070301000112.GA74875@just.puresimplicity.net> References: <20070228231635.GB73748@just.puresimplicity.net> <45E6113A.2060500@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45E6113A.2060500@unsane.co.uk> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-2.0.2 (just.puresimplicity.net [127.0.0.1]); Wed, 28 Feb 2007 18:01:13 -0600 (CST) Cc: Paul Schmehl , FreeBSD Questions Subject: Re: find returns unusable result X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 00:04:20 -0000 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