sh 以递归方式删除node_modules

Posted

tags:

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

#!/bin/bash
# taken from https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively
find . -name "node_modules" -exec rm -rf '{}' +

以上是关于sh 以递归方式删除node_modules的主要内容,如果未能解决你的问题,请参考以下文章