[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Searching for a text string RaQ3.



"David Lucas" <david@xxxxxxxxxxxxxxxx> wrote:
> The way I have done it in the past is to download all the files (text,not
> graphics) from the server to a directory on my hard drive.  I use a
> fantastic little program called Ultraedit and I do an edit, replace in
> files and you select the directory and the text to change and what to
> change it to.  It will change them all without you even seeing them open.

My message may not have posted when you wrote this, but I wanted to mention
that my solution (running a free program called "rpl" directly on the
server) accomplishes the same without having to transfer files to your PC
and back to the server.  It's especially good when you don't know what files
you'd need to transfer, as was the situation with the original poster who
needed to check all .html files.  With rpl that would be accomplished as
follows:

rpl -sR -x ".htm" "old_text" "new_text" /

[The 's' above runs in simulation mode which lists files w/out doing the
replacement, drop the 's' to do the actual replacement.]

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/