msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

25 Oct 2007 Recursivly find and edit files in place

Posted by

This is a simple oneliner to replace words inline using perl :)

# for i in `find ./ -name foo` ; { perl -p -i -e “s/oldword/newword/g” $i ;}

You’ll need bash and perl.

Tags: ,

Comments are closed.