Skip to content

Instantly share code, notes, and snippets.

@mixelpixel
Forked from peterdemartini/command.sh
Created March 31, 2018 06:22
Show Gist options
  • Select an option

  • Save mixelpixel/e6794fa404be918eeac2ec77bdae8ba8 to your computer and use it in GitHub Desktop.

Select an option

Save mixelpixel/e6794fa404be918eeac2ec77bdae8ba8 to your computer and use it in GitHub Desktop.

Revisions

  1. @peterdemartini peterdemartini revised this gist Dec 28, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion command.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    find `pwd` -type d -name 'node_modules' | xargs -n 1 tmutil addexclusion
    find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion
  2. @peterdemartini peterdemartini created this gist Dec 28, 2016.
    1 change: 1 addition & 0 deletions command.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    find `pwd` -type d -name 'node_modules' | xargs -n 1 tmutil addexclusion