View Single Post
Old 11-28-2005, 10:59 AM  
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Do you think If I ran this on the command line it would be alright?


find directory -name '*.html' -exec perl -pi -e 's/old_sponsor_url/new_sponsor_url/g' {} \;

I have used it for small amounts of replacing

If I ran this through gigs of files I'm afraid it could crash the server or fuck something up some how
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote