If you’re having issues finding files on your Mac, then you can easily rebuild the Spotlight index for your Mac by typing the following command into the Terminal:
sudo mdutil -E
After you do that, you will notice, after a few minutes, that when you click the Spotlight button in the menu bar, Spotlight will show that it is currently indexing your system.
By using the above command, this will index all drives, or you can specify a drive to be indexed by adding the drive name.
sudo mdutil -E /Volumes/DriveName
Disclaimer:
While the author has taken care to provide our readers with accurate information, please use your discretion before acting upon information based on the blog post. Amsys will not compensate you in any way whatsoever if you ever happen to suffer a loss/inconvenience/damage because of/while making use of information in this blog.