I can successfully add Time Machine exclusions using tmutil addexclusion
and I can verify exclusions successfully with tmutil isexcluded
but if I then open up Time Machine's Preferences and click "Options..." none of the exclusions added via tmutil
are listed.
- Use of the
-p
option when usingtmutil addexclusion
seems to make no difference. - Restarting the OS makes no difference.
- Re-indexing Spotlight makes no difference.
I've tested this on both Mac OS 10.9 and 10.11.
Is this expected behaviour?
-p
these days. Tested on 10.15.4 (Catalina). It's necessary to give Terminal "Full Disk Access" in the "Security & Privacy" panel.