Skip to content

Instantly share code, notes, and snippets.

@rubenerd
Created November 17, 2014 03:14
Show Gist options
  • Save rubenerd/c52ca22a382bbdbdb2ec to your computer and use it in GitHub Desktop.
Save rubenerd/c52ca22a382bbdbdb2ec to your computer and use it in GitHub Desktop.
Find and replace terms in folder of files
## BSD
find ./ -type -f -exec sed -i -e '' 's/something/else' {} \;
## GNU
find ./ -type -f -exec sed -i -e 's/something/else' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment