-
-
Save woffleloffle/345423f2eeb60cd73bce6ee14962caec to your computer and use it in GitHub Desktop.
Recursively delete all node_modules folders
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
find . -name "node_modules" -exec rm -rf '{}' + |
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" rm -rf "%d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment