Created
February 21, 2020 16:20
-
-
Save banyudu/3551356fa95e90b66b7034d1857eaa02 to your computer and use it in GitHub Desktop.
macOS中对指定目录禁用 mds 索引
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
| 在开发前端应用时,经常会安装 node_modules,文件系统中突然增加很多细碎的文件。 | |
| 有时候这会触发macOS的自动索引,即 mds 进程,耗费大量的CPU。 | |
| 有一个方法可以禁用mds对此目录的监听,建立一个名为 .metadata_never_index 的文件即可 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment