Re: manipulating files and directories with spaces

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



In article <1195638046.5747.31.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
William L. Maltby <CentOS4Bill@xxxxxxxxxxxx> 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@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux