[CentOS] manipulating files and directories with spaces

Ralph Angenendt ra+centos at br-online.de
Wed Nov 21 09:04:45 UTC 2007


Shad L. Lords wrote:
> find . -type type -print0 | xargs -0 chmod value

Or (SUSV compliant): 

find . -type f -exec chmod 123 {} +

Cheers,

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20071121/979ae6f0/attachment.bin


More information about the CentOS mailing list