Skip to content

Instantly share code, notes, and snippets.

@theconektd
Created September 14, 2011 20:09
Show Gist options
  • Save theconektd/1217638 to your computer and use it in GitHub Desktop.
Save theconektd/1217638 to your computer and use it in GitHub Desktop.
find and replace text in a directory
grep -rl test_database_client . | xargs gsed -i 's/test_database_client/test_db/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment