Find and Replace a string of text


Need to replace text? This is helpful in reducing spam if you have your e-mail address in various places, for example, or to change the way you did a part of your html. This very easy to do, thanks to a script Trevor made.

When logged into MIA, cd into your directory, and run a command similar to the following:

find . -name \*.htm -print | xargs /www/scripts/sars.rb -b '<a href="../../admin/volunteers/steering.htm">' '<a href="/admin/volunteers/steering.htm">'



If you are a PC user, you can install HandyFile Find-and-Replace, a free download from SilverAge allows you to find-and-replace in a bunch of files on your PC.