Date: July 19, 2022 Categories: Development Tags: bash Comments: 0 find and replace string in all files https://stackoverflow.com/questions/7450324/replace-a-string-with-another-string-in-all-files-below-my-current-dir find . -name '*.php' -exec sed -i -e 's/www.fubar.com/www.fubar.ftw.com/g' {} \; Leave a Reply Cancel replyYour email address will not be published.Comment Name Email Website Save my name, email, and website in this browser for the next time I comment.