Skip to content

Instantly share code, notes, and snippets.

@larsxschneider
Created March 2, 2012 14:00
Show Gist options
  • Save larsxschneider/1958542 to your computer and use it in GitHub Desktop.
Save larsxschneider/1958542 to your computer and use it in GitHub Desktop.
Replace tab with whitespaces
find . -not \( -name .svn -prune -o -name .git -prune \) -type f -exec sed -i "" $'s/\t/ /g' {} \;
@larsxschneider
Copy link
Author

Press CTRL+V and tab

@larsxschneider
Copy link
Author

TODO: ignore .git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment