Last active
July 10, 2018 13:02
-
-
Save jaredreich/96b7450a8b8bd8e28d7fe6e393dce0d1 to your computer and use it in GitHub Desktop.
Delete all node_modules
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 -exec rm -rf '{}' + | |
# or with trash-cli | |
find . -name node_modules -type d -prune -exec trash {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment