Skip to content

Instantly share code, notes, and snippets.

@masc3d
Forked from peterdemartini/command.sh
Created July 24, 2018 16:01
Show Gist options
  • Save masc3d/c0c6f30a93ce1aea2a7a05df19d78eca to your computer and use it in GitHub Desktop.
Save masc3d/c0c6f30a93ce1aea2a7a05df19d78eca to your computer and use it in GitHub Desktop.
Exclude node_modules in timemachine
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