Web Hosting Talk







View Full Version : does search and replace exist? RaQ3


horoscopes2000
05-08-2002, 02:07 PM
I wish to change a fax number on 77 webpages in different domains on my raQ3.

Is there an SSH command which will allow me to search and replace the phone number string in the html documents only?

shortfork
05-12-2002, 12:42 AM
perl -e "s/old_string/new_string/g;" -pi.save $(find DirectoryName -type f)

that should work for you..

Shortz