Server side find/replace option?

Discussion in 'Site & Server Administration' started by Boomer222, Oct 19, 2008.

  1. #1
    Sorry in advance if this isn't where I should be posting this... not quite sure.

    I'm working from an old school html site. I have to change meta descriptions on a couple of thousand pages and I'm wondering if there's anything on the server side I can do or use that would allow me to do some sort of find/replace. Like find the meta description and replace with a portion of the first sentence or two in the body of an article so I don't have to spend weeks doing this.

    Any help would be greatly appreciated.
     
    Boomer222, Oct 19, 2008 IP
  2. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Have you tried this?
    Edit: I assumed you are on Linux server. If not, please ignore this.
     
    gate2vn, Oct 19, 2008 IP
  3. Mxhub

    Mxhub Active Member

    Messages:
    474
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    if all are .html files..

    replace "old" "new" -- *.html

    do this at the directory level.


    --
    joseph

    :)
     
    Mxhub, Oct 19, 2008 IP