Skip to content

Instantly share code, notes, and snippets.

@kriswill
Last active October 12, 2016 18:40
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 kriswill/147904fdb3dac35c32a0f84806762e5f to your computer and use it in GitHub Desktop.
Save kriswill/147904fdb3dac35c32a0f84806762e5f to your computer and use it in GitHub Desktop.
Re-link all @gliffy/ember-* modules with NPM
#!/usr/bin/env bash
# Remove all **/node_modules/@gliffy folders
B="\033[0;34m" # blue
W="\033[0;37m" # white
NONE="\033[0m"
printf "\n${B}Removing all ${W}**/node_modules/@gliffy ${B}folders${NONE}\n"
find . -name "\@gliffy" -exec rm -rf '{}' +
#!/usr/bin/env bash
# Remove all **/node_modules folders
B="\033[0;34m" # blue
W="\033[0;37m" # white
NONE="\033[0m"
printf "\n${B}Removing all ${W}**/node_modules ${B}folders${NONE}\n\n"
find . -name "node_modules" -prune -exec rm -rf '{}' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment