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 04:39 -0500, William L. Maltby wrote:
> On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote:
> > 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.

Wrong. + causes find to append as many items as possible.

-- 
Ignacio Vazquez-Abrams <ivazqueznet@xxxxxxxxx>

PLEASE don't CC me; I'm already subscribed

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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