Return to Snippet

Revision: 3351
at July 13, 2007 06:25 by micmath


Initial Code
for i in `find ./ -name foo` ; { perl -p -i -e “s/old/new/g” $i ;}

Initial URL


Initial Description
This requires a Bash shell and perl.

Initial Title
Recursivly find and edit files in place.

Initial Tags


Initial Language
Perl