Created
September 20, 2018 21:45
-
-
Save ielijose/8730736f37005a3cf0d76daa6ebcf467 to your computer and use it in GitHub Desktop.
Delete all node_modules folders 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
for /d /r . %d in (node_modules) do @if exist "%d" (echo %d && rd /s/q "%d") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just list folders:
for /d /r . %d in (node_modules) do @if exist "%d" (echo %d)