Created
November 28, 2019 15:51
-
-
Save stekhn/c58eb6f2410fee09d061ab835b8f9adf to your computer and use it in GitHub Desktop.
Remove all node_modules folders in a directory 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
find . -name "node_modules" -type d -prune -exec rm -rf '{}' + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment