Skip to content

Instantly share code, notes, and snippets.

@brachycera
Last active September 26, 2017 22:33
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 brachycera/db363065bbe282519b86603e96eb4369 to your computer and use it in GitHub Desktop.
Save brachycera/db363065bbe282519b86603e96eb4369 to your computer and use it in GitHub Desktop.
Exclude development folders like "node_modules" or "vendor" from osX timemachine backups.
find `pwd` -type d -maxdepth 3 -name 'vendor' -o -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