Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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
You can’t perform that action at this time.