Skip to content

Instantly share code, notes, and snippets.

@cange
Created March 26, 2013 11:20
Show Gist options
  • Save cange/5244692 to your computer and use it in GitHub Desktop.
Save cange/5244692 to your computer and use it in GitHub Desktop.
Find file by file type and replace a text in it
find . -name "*.erb" -exec sed -i "s/\t/ /g" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment