Date Tags macosx

I have a few thousand zip files from a dataset on my disk. Whenever I try to unzip them, spotlight starts indexing them and eats away precious CPU. Decided to shut it down completely.

To disable the Launch Daemon,

$ sudo launchctl unload -w /System/Library/LaunchDaemons/
$ sudo mdutil -a -i off

To re-enable:

$ sudo launchctl load -w /System/Library/LaunchDaemons/
$ sudo mdutil -a -i on