Skip to content

Instantly share code, notes, and snippets.

@visioncan
Forked from peterdemartini/command.sh
Last active May 17, 2017 07:13
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 visioncan/d05b66872650f7b7f52330bedaf12409 to your computer and use it in GitHub Desktop.
Save visioncan/d05b66872650f7b7f52330bedaf12409 to your computer and use it in GitHub Desktop.
Exclude node_modules in TimeMachine,在 TimeMachine 排除 node_modules 資料夾
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment