Created
December 10, 2020 23:44
-
-
Save richardnfag/acc2466d1c7f8a72f955609efe8403bc to your computer and use it in GitHub Desktop.
Delete all node_modules folders in a directory
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
find . -name 'node_modules' -type d -prune -print -exec rm -rfv '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment