highlight – Cannot Search Inside Folders on a Drive?

[ad_1]

I’ve a bizarre Highlight problem with one in all my exterior drives; I can search the drive as an entire simply positive, but when I attempt to search solely a selected folder inside it then the search merely would not work.

To offer an instance, for example I had a file /Volumes/MyDrive/Photos/Picture.png, if I run:

mdfind -onlyin /Volumes/MyDrive '*.png'

The outcomes will embrace the file precisely as I anticipate. Nevertheless if I as an alternative run the next:

mdfind -onlyin /Volumes/MyDrive/Photos '*.png'

It as an alternative returns nothing, regardless that the picture is in that folder, and it is undoubtedly recognized to Highlight (it’s returned within the appropriate path when looking out at a better stage).

This problem appears to use to looking out any folder inside the drive, regardless of how nested, it impacts newly created folders and so-on so it should not be a difficulty with permissions or prolonged attributes (as a brand new folder ought to have default permissions and no prolonged attributes).

I’ve already tried re-creating the index by way of the next:

sudo mdutil -i off /Volumes/MyDrive
sudo mdutil -X /Volumes/MyDrive
sudo mdutil -i on /Volumes/MyDrive

After the second step I additionally verified that the .Highlight-V100 folder had been absolutely faraway from the drive, so when indexing is turned on the index ought to be created 100% contemporary.

Nevertheless the very same problem continues after indexing is full; for no matter purpose I simply can’t search inside any folders, all my searches must be of your complete drive (or my complete Mac) or they will not return something inside the drive in any respect.

Anybody have some other recommendations about what I can attempt to repair this? Why within the heck would Highlight work positive with -onlyin for the drive, however not a folder inside it? It is such a weird problem!

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *