Jump to content

How to Exclude Hard Drives and Folders from Spotlight Index in Mac OS X


Recommended Posts

Posted

<div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/12/exclude-drive-from-spotlight.jpg" alt="Exclude drives and folders from Spotlight index" title="exclude-drive-from-spotlight" width="620" height="315" class="aligncenter size-full wp-image-25453" /></p>

<p>Spotlight is a wonderful feature of Mac OS X, but sometimes you don’t want it indexing everything. Whether it’s an external backup drive, a scratch disk, or just a private folder with files you don’t want easily found, excluding drives and directories from Spotlight is easy:</p>

<ul>

<li>Launch System Preferences from the  Apple menu and click on “Spotlight”</li>

<li>Click on the “Privacy” tab</li>

<li>Drag & drop folders or drives to exclude from the Spotlight index, or click the “+” plus icon in the corner to manually select hard drives or directories</li>

</ul>

<p>Anything folder or drive in that list is effectively hidden from the Spotlight index, making the contents not appear in file searches. </p>

<p><img src="http://osxdaily.com/wp-content/uploads/2011/12/exclude-from-spotlight-index.jpg" alt="Exclude items from Spotlight index" title="exclude-from-spotlight-index" width="620" height="446" class="aligncenter size-full wp-image-25454" /></p>

<p>This is a much better approach than <a href="http://osxdaily.com/2011/12/10/disable-or-enable-spotlight-in-mac-os-x-lion/">disabling Spotlight</a> if all you want to do is hide certain files from prying eyes. </p>

<p>If at any point you want these items to be reindexed and reincluded within Spotlights search results, all you need to do is highlight them in the privacy tab and delete them with the Delete key or by hitting the “-” minus button in the lower left. Removing items will trigger the <a href="http://osxdaily.com/2010/08/05/mds-mac/">mds</a> and <a href="http://osxdaily.com/2009/09/14/mdworker-what-is-mdworker/">mdworker</a> processes to run.</p>

<p>On a side note, because excluding items and then reincluding them also causes that directory or drive to be completely reindexed, this can be a helpful troubleshooting tip if you’re running into location specific <a href="http://osxdaily.com/2007/02/15/spotlight-wont-work-fix-a-broken-spotlight-menu-with-these-troubleshooting-tips/">problems with Spotlight</a>. </p>

</div>

<p><a href="http://feedads.g.doubleclick.net/~a/JUsrohOjh4Wi0omnidOTW7UmJ4Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/JUsrohOjh4Wi0omnidOTW7UmJ4Q/0/di" border="0" ismap="true"></img></a><br/>

<a href="http://feedads.g.doubleclick.net/~a/JUsrohOjh4Wi0omnidOTW7UmJ4Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/JUsrohOjh4Wi0omnidOTW7UmJ4Q/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">

<a href="http://feeds.feedburner.com/~ff/osxdaily?a=PcUPGF3Nyk0:ElYWw_fp6MY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=PcUPGF3Nyk0:ElYWw_fp6MY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=PcUPGF3Nyk0:ElYWw_fp6MY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=PcUPGF3Nyk0:ElYWw_fp6MY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=PcUPGF3Nyk0:ElYWw_fp6MY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=PcUPGF3Nyk0:ElYWw_fp6MY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=PcUPGF3Nyk0:ElYWw_fp6MY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a>

</div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/PcUPGF3Nyk0" height="1" width="1"/>

 

View the full article

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic


×
×
  • Create New...