Skip to content

Instantly share code, notes, and snippets.

@anthonycarminati
Created February 10, 2016 19:59
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 anthonycarminati/c828493837ea907174c9 to your computer and use it in GitHub Desktop.
Save anthonycarminati/c828493837ea907174c9 to your computer and use it in GitHub Desktop.
This script recursively removes all files from your current root and sub-directories. By changing the '*.pyc' block you can specify which files will be removed.
find . -type f -name '*.pyc' -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment