markdown 递归删除所有node_module文件夹

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 递归删除所有node_module文件夹相关的知识,希望对你有一定的参考价值。

# Remove all node_module folders recursively
```
find . -name "node_modules" -exec rm -rf '{}' +
```
That will delete the folder and files even if there is a space in the name.

That saved me about 10GB over several hundred node projects which I had not touched in a while.
If I need the node modules back, I can simply run `npm install`

以上是关于markdown 递归删除所有node_module文件夹的主要内容,如果未能解决你的问题,请参考以下文章