Search and Replace Command Line
Ever need to search and replace some text across multiple files? Check out this nifty command line gem!
find . -type f -name '*.<ext>' -exec sed -i '' 's/<search>/<replace>/' {} +
Written by Matt Helm
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#