Posted By

Ferk on 02/19/09


Tagged

Bash replace regexp sed find


Versions (?)

Search and replace through a whole directory tree


 / Published in: Bash
 

URL: http://psykotical.blogspot.com/2009/02/bash-snippets.html

  1. find . -type f -exec sed -i 's/STRING1/STRING2/' {} \;

Report this snippet  

You need to login to post a comment.