Spotlight is generally very good at keeping a valid index of a drives contents up to date, but if you’ve recently restored a drive or had to delete the Spotlight index for one reason or another, you may need to reindex the drive manually. This is easy from the Spotlight control panel, and can also be achieved through the command line as we’ll demonstrate. Reindexing Spotlight from the Command Line
![Reindex Spotlight from the Command Line in Mac OS X](https://cdn-ak-scissors.b.st-hatena.com/image/square/95fbca9aa2a7cea37b9a0868682f38b682d69015/height=288;version=1;width=512/https%3A%2F%2Fcdn.osxdaily.com%2Fwp-content%2Fuploads%2F2012%2F01%2Fspotlight.jpg)