Re: manipulating files and directories with spaces

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



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 {} +

Easier to type and more natural (for me). But less efficient than the
xargs version since each file cause a new process to be spawned. For a
very large number of items the difference would be noticeable.

> 
> Cheers,
> 
> Ralph
> <snip sig stuff>

--
Bill

_______________________________________________
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