Posted By

micmath on 07/13/07


Tagged


Versions (?)

Recursivly find and edit files in place.


 / Published in: Perl
 

This requires a Bash shell and perl.

  1. for i in `find ./ -name foo` ; { perl -p -i -e ā€œs/old/new/gā€ $i ;}

Report this snippet  

You need to login to post a comment.