Oops, you're right.  I missed that one (probably because of a recent
thread about moving and renaming files...)

> -----Original Message-----
> From: Bryan Murdock [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 15:47
> To: BYU Unix Users Group
> Subject: RE: [uug] search and replace
> 
> 
> The below is renaming the files, where I believe Ryan want's strings
> inside the files modified.  For that do something like this:

> find . -name "*.txt" -name "*.html" | xargs perl -pi -e "s/foo/bar/g"

> Bryan

____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to