Instantly share code, notes, and snippets.

Embed
What would you like to do?
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