[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Bash Script



On Wed, 2007-07-11 at 09:27 +0200, Andrew Kelly wrote:
> On Tue, 2007-07-10 at 19:46 -0500, John Pierce wrote:
> > Thanks, for all of the suggestions.  I have been reading man find and xargs.
> 
> I'm curious, why pipe to xargs when find can handle things itself?
> $ find /path -type f -exec chmod ugo-x {} \;
> 
> Andy
> 
Or how about:

$ chmod -R ugo-x /path; chmod -R ugo+X /path

to only use chmod (though you have to use it twice)

Jonathan

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]