[CentOS] Re: manipulating files and directories with spaces

Wed Nov 21 10:46:08 UTC 2007
Tony Mountifield <tony at softins.clara.co.uk>

In article <1195638046.5747.31.camel at centos01.homegroannetworking>,
William L. Maltby <CentOS4Bill at triad.rr.com> wrote:
> On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote:
> > Shad L. Lords wrote:
> > > find . -type type -print0 | xargs -0 chmod value
> > 
> > Or (SUSV compliant): 
> > 
> > find . -type f -exec chmod 123 {} +
> 
> P.S.
> 
>  Don't forget to escape the "{" and "}".

Why? I've never needed to.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org