Skip to content

Instantly share code, notes, and snippets.

@willm
Created January 13, 2014 00:17
Show Gist options
  • Save willm/8392606 to your computer and use it in GitHub Desktop.
Save willm/8392606 to your computer and use it in GitHub Desktop.
converts all tabls to 4 spaces in all python files in the current directory
find . -name "*.py" ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment