Skip to content

Instantly share code, notes, and snippets.

@timkock
Created December 6, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timkock/e7cc73aec36deb7a6fec to your computer and use it in GitHub Desktop.
Save timkock/e7cc73aec36deb7a6fec to your computer and use it in GitHub Desktop.
removes nested node_modules directories to clean unwanted data for backup or other purposes
find . -name "node_modules" -exec rm -rf '{}' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment