-
-
Save ikhsanalatsary/2c31e377c8d5e44e6563cbad365f911a 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
#!/bin/bash | |
# this will find all node_modules above your path and will remove them | |
find . | grep /node_modules$ | grep -v /node_modules/ | xargs rm -fRv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment