find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
Created
September 4, 2019 21:47
-
-
Save agmm/b41b78d965c06c24d9c7d7e5e17504e2 to your computer and use it in GitHub Desktop.
Command to delete 'node_modules' in all subdirectories
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment