Skip to content

Instantly share code, notes, and snippets.

@Berkmann18
Created August 29, 2018 10:40
Show Gist options
  • Save Berkmann18/57c806b372251c7471c16f612ac44ba3 to your computer and use it in GitHub Desktop.
Save Berkmann18/57c806b372251c7471c16f612ac44ba3 to your computer and use it in GitHub Desktop.
Remove all node_module folders
#!/bin/bash
#Source: https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively
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