Thursday, August 7, 2008

Single Command Replace matching pattern

 find  rootfolder  -name  "*.html" -exec sed -i 's/oldname/newname/g' {} \;

No comments:

Post a Comment