Last active
September 21, 2016 20:02
-
-
Save negativeeddy/5b41c297e38f0cb82415482a4475a29b to your computer and use it in GitHub Desktop.
This is a powershell script that will recursively remove all the obj, bin, and packages directories from the current directory and its children.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get-childitem -Directory -Recurse | where-object {$_.Name -eq 'bin' -or $_.Name -eq 'obj' -or $_.Name -eq 'packages'} | Remove-Item -Force -Recurse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment