Last active
November 28, 2024 10:11
-
-
Save klinkby/994e2e4e69085df622c359b7d4a60279 to your computer and use it in GitHub Desktop.
Reclaim space from build and publish output recursively
This file contains hidden or 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 -LiteralPath 'd:\' -Recurse -Directory |? { $_.Name -match '^(bin|obj|test-results|TestResults|Publish|dist|node_modules)$' } | Remove-Item -Recurse -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment