find returns unusable result

Vince jhary at unsane.co.uk
Thu Mar 1 11:11:55 UTC 2007


Josh Tolbert wrote:
> 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.
>
>   
True, for anything more complex xargs is invaluable.

Vince


> Thanks,
>
> Josh
>   



More information about the freebsd-questions mailing list