Return to Snippet

Revision: 11803
at February 19, 2009 09:48 by Ferk


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

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

Initial Description

                                

Initial Title
Search and replace through a whole directory tree

Initial Tags
Bash, replace, regexp, find

Initial Language
Bash