Mac:关闭Spotlight索引

来自WHY42
sudo mdutil -a -i off
➜  ~ sudo mdutil -a -i off
Password:
/:
2019-12-04 08:48:48.201 mdutil[20471:374389] mdutil disabling Spotlight: / -> kMDConfigSearchLevelFSSearchOnly
	Indexing disabled.
/System/Volumes/Data:
2019-12-04 08:48:48.278 mdutil[20471:374389] mdutil disabling Spotlight: /System/Volumes/Data -> kMDConfigSearchLevelFSSearchOnly
	Indexing disabled.
/Volumes/Untitled:
2019-12-04 08:48:50.697 mdutil[20471:374389] mdutil disabling Spotlight: /Volumes/Untitled -> kMDConfigSearchLevelFSSearchOnly
	Indexing disabled.