Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- #
- # Remove any `node_modules` folders over 60 days old
- #
- # You can always `yarn` or `npm init` to get them back
- #
- find . -type d -name "node_modules" -mtime +60 -delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement