Skip to content

Instantly share code, notes, and snippets.

@danielpcox
Created May 7, 2010 05:27
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 danielpcox/393093 to your computer and use it in GitHub Desktop.
Save danielpcox/393093 to your computer and use it in GitHub Desktop.
find -iname "*.html" -exec sh -cC '
sed 's/search/replace/' "$1" > "$1".new
' {} {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment