Re: [CentOS] find cont'd 3

2008-10-10 Thread MHR
On Fri, Oct 10, 2008 at 7:19 AM, Eric Sisolak <[EMAIL PROTECTED]> wrote: > On Wed, Oct 8, 2008 at 9:49 PM, <[EMAIL PROTECTED]> wrote: >> >> Basically I want to find all files with a string (except binary) >> and change it. let STR be the string I am looking for. NEW is new >> string. > > Hmm, why

[CentOS] find cont'd 3

2008-10-10 Thread Eric Sisolak
On Wed, Oct 8, 2008 at 9:49 PM, <[EMAIL PROTECTED]> wrote: > > Basically I want to find all files with a string (except binary) > and change it. let STR be the string I am looking for. NEW is new string. Hmm, why not ditch find entirely, and just use grep? Something like: TFIL=/usr/tmp/dummy$

[CentOS] find cont'd 3

2008-10-08 Thread tony . chamberlain
Another question about find. I looked at the gnome tool and tried to simulate what it is doing. I can't use it directly because it won't do sed. Basically I want to find all files with a string (except binary) and change it. let STR be the string I am looking for. NEW is new string. I am doi