Monday, November 30, 2009

Multi-file search and replace one-liner


find . -name "*.ksh" -exec sed -i 's/oldtext/newtext/g' {} \;

No comments: