View Single Post
Old 10-04-2003, 06:02 PM  
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
http://www.sponsororganizer.com/Free...s/s_and_r.html

This one is easier if you only have one link to change:
find . \( -name '*.html' -o -name '*.php' -o -name '*.htm' \) -exec perl -pi -e 's/old_link_code/new_link_code/g' {} \;

But the top one is heck of a lot faster.
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote