Okay, one more small question :-) Can you force it to apply only to certain files, say *.html ? It's trying to do this in binary files and all sorts of files that either won't have the string I'm trying to replace, or should not even attempt to modify such other files - just html documents. Thanks! Adam ----- Original Message ----- From: "Chris" <redhat-list@xxxxxxxxxxxxxxxxxxx> Sent: Saturday, April 10, 2004 1:10 PM Subject: Re: Replacing text within a bunch of files > Thanks Ed!! > > That works perfectly. > > Adam > > > > ----- Original Message ----- > From: "Ed Wilts" <ewilts@xxxxxxxxxx> > Sent: Saturday, April 10, 2004 12:49 PM > Subject: Re: Replacing text within a bunch of files > > > > find -type f | xargs -n 1 replace old_string new_string -- > > > > The latter will do an inplace replacement. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list