Tuesday, June 10, 2025

sed Replace in Place on Mac

find . -type f -name "{{search term}}" -print0 | xargs -0 sed -i '' -e 's/{{old}}/{{new}}/g'

Replace "{{this}}" with "this"...

Followers