Last active
October 1, 2018 09:41
-
-
Save mayurdange/9358c11b7d65ac0b4b55ea5df44ce2e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To see which folders will be deleted, | |
| FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" echo %d" | |
| And then to actually delete them, just run this, | |
| FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rm -rf "%d" | |
| from : https://winsmarts.com/delete-all-node-modules-folders-recursively-on-windows-edcc9a9c079e | |
| fastest way to delete folder with many files | |
| del /f/s/q foldername > nul | |
| rmdir /s/q foldername | |
| from : https://superuser.com/questions/19762/mass-deleting-files-in-windows/289399#289399 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment