Last active
May 26, 2019 16:52
-
-
Save pi0/85c71423ae1bdea30f5abe0455ef32f2 to your computer and use it in GitHub Desktop.
Clean all `node_modules` to save disk space
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
for d in `find -name node_modules -type d` ; do [ -d "$d" ] && echo "$d" && rm -rf "$d" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment