Skip to content

Instantly share code, notes, and snippets.

@mixelpixel
Forked from peterdemartini/command.sh
Created March 31, 2018 06:22
Show Gist options
  • Save mixelpixel/e6794fa404be918eeac2ec77bdae8ba8 to your computer and use it in GitHub Desktop.
Save mixelpixel/e6794fa404be918eeac2ec77bdae8ba8 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