Last active
July 13, 2020 02:25
-
-
Save isaobushi/0f47bd001f9ba38b61d690f970a57bef to your computer and use it in GitHub Desktop.
Revisions
-
isaobushi renamed this gist
Jul 13, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,4 @@ find . -name "node_modules" -type d -prune | xargs du -chs DELETE all node_modules find . -name "node_modules" -type d -prune -exec rm -rf '{}' + -
isaobushi created this gist
Jul 13, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ **Check how much memory find . -name "node_modules" -type d -prune | xargs du -chs - example output: 252M ./jotto-hooks/node_modules 410M ./tempBin/refugee-job-search-frontend-user/node_modules 415M ./Magic-League/node_modules 72M ./legal-block-backend/node_modules 17G total DELETE all node_modules find . -name "node_modules" -type d -prune | xargs du -chs