Created
June 28, 2023 16:21
-
-
Save jonasfroeller/9207b4214e251964991e9b057e38b1a9 to your computer and use it in GitHub Desktop.
delete all node_modules folders on your system (Linux)
This file contains 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
#!/bin/bash | |
find . -name "node_modules" | |
-type d -prune -exec rm -rf '{}' ; | |
read -p "Press Enter to exit..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment