Skip to content

Instantly share code, notes, and snippets.

@rianrainey
Created August 5, 2013 21:09
Show Gist options
  • Save rianrainey/6159643 to your computer and use it in GitHub Desktop.
Save rianrainey/6159643 to your computer and use it in GitHub Desktop.
Replace all PHP files will new text
find . -name '*.php' -exec sed -i "" 's/Old_Text/New_Text/g' "{}" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment