Replace text in multiple files

by Geethalakshmi 2010-05-30 03:25:37

Replace text in multiple files


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

Tagged in:

787
like
0
dislike
0
mail
flag

You must LOGIN to add comments