Thread
:
Changing a link on hundreds of html pages
View Single Post
01-12-2004, 04:47 AM
kenny
Confirmed User
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Here is the way I do it in server shell:
find directory -name '*.html' -exec perl -pi -e 's/http:\/\/www.oldlink.com/http:\/\/www.newlink.com/g' {} \;
__________________
7
kenny
View Public Profile
Find More Posts by kenny