• Home
  • Set primary menu

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 reply

Your email address will not be published.

Let's Code