Skip to content

Instantly share code, notes, and snippets.

@sgmeyer
Created July 29, 2016 13:23
Show Gist options
  • Save sgmeyer/9bcba88e45d22cf4267bf867613d890b to your computer and use it in GitHub Desktop.
Save sgmeyer/9bcba88e45d22cf4267bf867613d890b to your computer and use it in GitHub Desktop.
# Deletes top level nuget_packages directory
find . -type d -name nuget_packages | xargs rm -rf
# Finds all of the bin directories and deletes them.
find . -type d -name bin | xargs rm -rf
# Finds all of the packages directories and deletes
find . -type d -name packages | xargs rm -rf
# Finds all of the obj directories and deletes everything.
find . -type d -name obj | xargs rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment