Skip to content

Instantly share code, notes, and snippets.

@ashleyw
Created March 15, 2017 09:23
Show Gist options
  • Save ashleyw/ae48db4d904b2d84445080a78988d52d to your computer and use it in GitHub Desktop.
Save ashleyw/ae48db4d904b2d84445080a78988d52d to your computer and use it in GitHub Desktop.
#!/bin/sh
find $PWD -type d -maxdepth 5 -name node_modules | xargs -n1 tmutil addexclusion
@melcarthus
Copy link

I get:
Cannot set path-based exclusion for relative path

I'm on:
10.12.6 (16G29)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment