Linux: search and replace recursively

 find ./ -type f -exec sed -i 's/staystring/nowystring/' {} \;


source: http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html

Comments

Popular posts from this blog

How to simulate slow connection (developer proxy in Node.js)

How to use NPM packages from private repositories on bitbucket