Skip to content

Instantly share code, notes, and snippets.

@damienstanton
Last active August 29, 2015 14:07
Show Gist options
  • Save damienstanton/e36b493c78a0ca426b2d to your computer and use it in GitHub Desktop.
Save damienstanton/e36b493c78a0ca426b2d to your computer and use it in GitHub Desktop.
Remove .swp and .pyc files recursively
rm -rfv `find ./ | egrep -i "(pyc|.swp|˜)$"`
printf $"\nCleaned!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment