Skip to content

Instantly share code, notes, and snippets.

@c0ze
Created March 18, 2016 08:57
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 c0ze/eabb5418f4e496dac58c to your computer and use it in GitHub Desktop.
Save c0ze/eabb5418f4e496dac58c to your computer and use it in GitHub Desktop.
Recursive replace string in directory
find `pwd` -iname "*.go" -type f -exec sed -i '' 's:github.com/alecthomas/log4go:github.com/sujrd/log4go:g' {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment