MacOS – Tags not associated in OS X

finder-tagmacos

I have tags assigned to my user created text file and it wouldn't show on finder.

I have assigned, Green icon / tag (renamed to environments) to associate a text file. Tag gets assigned good. Atleast thats what i see.

But when i click on the Green tag on the sidebar of the finder, to get all files associated with green, it does not work.

I did try restarting my Mac for the settings to take effect to no avail.

Image attached.
enter image description here

This is in relation to this question posted here.

Unknown tag in finder

Best Answer

  1. Issued sudo mdutil -i on "/Volumes/External-SSD” and got back "Indexing and searching disabled.” for external HDD.
  2. Defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder (shows all file)
  3. Go to hdd where indexing is not working. externalssd in my case. find locate .metadata_never_index & delete it.
  4. sudo mdutil -i on "/Volumes/External-SSD” started spotlight indexing and indexes are created.
  5. Tags working now.

This concludes that Tag functionality is dependant on spotlight and needs to be enabled.