Coding / switching it

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Penny24Seven
    So Fucking What
    • Jun 2007
    • 6287

    #1

    Coding / switching it

    I have some htm files with 200 names "tory" and need them all switched to "becky" and 50 other names. Pretty much 50 different pages. I use html kit for simple stuff. Does anyone know a program that will change all the text in a batch or something?
    Our site is coming soon. It will be one of the best ever! I know so. Brian and Penny
  • xxxfuzion
    Confirmed User
    • Jun 2006
    • 323

    #2
    mkdir new_content&&for I in *.htm; do cat $I | sed "s/tory/becky/" >new_content/$I; done


    ;)

    Comment

    Working...