[CentOS] OT -- BASH

Thu Jun 22 12:45:20 UTC 2006
William L. Maltby <BillsCentOS at triad.rr.com>

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060622/7cdf6194/attachment-0005.sig>