One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
echo "Searching for node_modules directories..." | |
# Assuming NVM is installed in the default location, update this if you have a custom NVM directory | |
NVM_DIR="$HOME/.nvm" | |
# exclude nvm | |
find $HOME -path $NVM_DIR -prune -o -name "node_modules" -type d -print | while read dir; do | |
echo "Deleting $dir..." |