View Single Post
Old 10-12-2002, 05:02 PM  
TFCash
Confirmed User
 
Industry Role:
Join Date: Apr 2001
Posts: 1,738
And people ask me why I like Unix some much

find . -name "*.php" | xargs perl -i.back -pe "s/search/replace/g"

Shell in and run this in the top folder you want to make changes too, then of course replace the search and the replace with the items you are wanting to make switch



Tim
TFCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote