Skip to content

Instantly share code, notes, and snippets.

@a1phanumeric
Created January 9, 2013 09:04
Show Gist options
  • Save a1phanumeric/4491730 to your computer and use it in GitHub Desktop.
Save a1phanumeric/4491730 to your computer and use it in GitHub Desktop.
Find and replace string in all files OSX
find /path/to/dir/* -type f -exec sed -i '' 's/FIND_STRING/REPLACE_STRING/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment