Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Delete node_modules

To delete folders one by one and printing the folder being deleted,
use the below terminal command:

find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' ;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Delete
ADD COMMENT
Topic
Name
3+2 =