-
-
Save oluies/95bc3a9b4c219d253d43d9b50298c9df to your computer and use it in GitHub Desktop.
Adds all your sbt target dirs as path excludes for Time Machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#WARNING: Use at your own risk. No warranties expressed or implied. YMMV. Drive responsibly. Eat healthy. | |
#First, `cd` into the parent dir for all of your `sbt`/`maven` projects (I assume you have one of those) | |
find "$(cd ..; pwd)" -type d -name "target" -exec sudo tmutil addexclusion -p {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment