Created
April 19, 2019 10:35
-
-
Save tusharf5/1241b0e476d77eeaab1b737b12ed3a6b to your computer and use it in GitHub Desktop.
Find "node_modules" in a directory recursively and delete it
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 | |
find . -name "node_modules" -type d -exec rm -rf {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment