Search This Blog

MacOS: prevent Spotlight from indexing external drives

To prevent Spotlight from scanning and indexing your external drive, create a file named .metadata_never_index or .metadata_never_index_unless_rootfs at the root of the external drive:
sudo touch /Volumes/ExternalDrive/.metadata_never_index
or
sudo touch /Volumes/ExternalDrive/.metadata_never_index_unless_rootfs

No comments:

Post a Comment