Skip to content

Instantly share code, notes, and snippets.

@shellfly
Created September 2, 2017 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shellfly/860cbd761849d3184c836788bda68ebc to your computer and use it in GitHub Desktop.
Save shellfly/860cbd761849d3184c836788bda68ebc to your computer and use it in GitHub Desktop.
replace content in dir on mac

grep -rl {text} app | xargs sed -i"" -e 's/{text}/{replaced_text}/g'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment