I am a web developer. I checkout many OSS projects and build them. Node modules are notorious in creating too many small files. I am running out of free iNodes because of that. I want an easy way (in linux) to lookup for all node_modules and delete unwanted ones. I am using the below command to list all node_modules directory and then delete them manually.
find ~/projects -name node_modules -prune Is there a first-class utility that provides better way to manage node_modules?
node_modulesdirectories - as being solely addressable by a find rm approach. There's more to it: is this the root node_modules? How big is it? When's the last time it was used? After closing it with the "jeez, this question is a duplicate of find rm usage", people are still left with the question of how to clean up their node_modules and reclaim wasted space. Vote to reopen, SO will not explode because this one question broke the camel's back.