Skip to content

Instantly share code, notes, and snippets.

@yuv4ik
Last active December 27, 2017 19:27
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 yuv4ik/aedfefca352db3f149fbcb81762db847 to your computer and use it in GitHub Desktop.
Save yuv4ik/aedfefca352db3f149fbcb81762db847 to your computer and use it in GitHub Desktop.
[For .NET projects] Recursively find and delete bin, obj and packages directories
# Recursively find and delete "bin", "obj" and "packages" dirs
# Backup your code before using this script, I am not responsible for any data loss. Please use it wisely.
find . -iname "bin" -o -iname "obj" -o -iname "packages" | xargs rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment