[CentOS] manipulating files and directories with spaces

William L. Maltby CentOS4Bill at triad.rr.com
Wed Nov 21 09:40:46 UTC 2007


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 "}".

> <snip>

--
Bill




More information about the CentOS mailing list