Skip to content

Instantly share code, notes, and snippets.

@rococodogs
Last active August 29, 2015 14:06
Show Gist options
  • Save rococodogs/4d1cd7ed01d3dc102cce to your computer and use it in GitHub Desktop.
Save rococodogs/4d1cd7ed01d3dc102cce to your computer and use it in GitHub Desktop.
replace instances of "user" with "quest-user" from the command line

i'm so proud that i decided to make a gist of it

grep -Frl "'user'" views | xargs sed -i .delete-me "s/\'user\'/\'quest-user\'/g"

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