SH | Diensttagebuch

In the middle of the desert you can say anything you want

21 Nov 2021

211121-2137 replace a string in all files recursively

From SO1:

find . -name '*.php' -exec sed -i -e 's/www.fubar.com/www.fubar.ftw.com/g' {} \;

  1. bash - Replace a string with another string in all files below my current dir - Stack Overflow ↩︎

Nel mezzo del deserto posso dire tutto quello che voglio.