DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Find And Replace Text From The Shell
Snagged from http://snippets.dzone.com/posts/show/116
find . -name '*.txt' -print0 |xargs -0 perl -pi -e 's/find/replace/g'






Comments
Snippets Manager replied on Fri, 2008/06/20 - 6:48pm
Snippets Manager replied on Thu, 2007/11/15 - 3:16pm
Snippets Manager replied on Wed, 2006/05/17 - 8:01pm
Snippets Manager replied on Mon, 2007/10/08 - 4:59pm