Node_modules YUNO DELETE Problem:
I'm doing a HDD upgrade on my Laptop, and while trying to backup the NodeJS projects i realize that all the node_modules subfolders contain over 1 milion files, and copying all that would be a good wasted 3-5 hours.

Deleting them instead sounds much better! But i have dozens of folders and subfolders, and i don't want to waste hours to search and destroy manually!

My OS is Win 10, and this is what my folder structure looks like: (i get to add 1 more picture!)
Folder Path So i'm looking for a way to loop through all the C:\Soft\JS subfolders and delete all node_modules subfolders and their content.


Solution:
The solution i ended up using can be executed from the Windows command line:

Example 1 : if you want to search the entire HDD.
for /d /r . %d in (node_modules) do @if exist "%d" rd /s/q "%d"
(is deleting) all node_modules folders from the HDD:

Example 2 : if you want something more specific.
for /d /r "C:\Soft\JS" %d in (node_modules) do @if exist "%d" rd /s/q "%d"
(is deleting) all node_modules folders from C:\Soft\JS