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
Want to learn more?
Sign up to get a digest of my articles and interesting links via email every month.