Skip to content

Instantly share code, notes, and snippets.

@brachycera brachycera/exclude.sh
Last active Sep 26, 2017

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
You can’t perform that action at this time.