Skip to content

Instantly share code, notes, and snippets.

@mul14
Last active July 23, 2018 15:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mul14/60b7d99b5b668f735493 to your computer and use it in GitHub Desktop.
Save mul14/60b7d99b5b668f735493 to your computer and use it in GitHub Desktop.
Delete all node_modules and bower_components directories
#!/usr/bin/env sh
find . -maxdepth 2 -type d -name node_modules -name bower_components -print0 | xargs -0 rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment