Re: [CentOS] OT -- BASH

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



On Thu, 2006-06-22 at 05:30 -0700, Paul Heinlein wrote:
> On Thu, 22 Jun 2006, Robert wrote:
> 
> > <snip>


> I think that passing -print0 output to grep is the culprit. How about 
> using find to identify the files rather than grep:
> 
> find . -depth ! -name '*.iso' -print0 | cpio ...

Yes. That is a much better way. Only suggestion I make is "-iname"
incase some of those files come from a well-known environment that tends
towards a "capitalist society" :-).

> <snip>

-- 
Bill

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