kMDItemDisplayName doesn't do case-insensitive queries?

Consider:

sef% mdfind 'kMDItemDisplayName =[c] "Zoom.us"'
sef%
sef% mdfind 'kMDItemDisplayName =[c] "zoom.us"'
sef%

vs

sef% mdfind 'kMDItemDisplayName == "zoom.us"'
/Applications/zoom.us.app

(Using '==' vs '=' doesn't seem to make a difference.)

Answered by BBfat in 706493022

I've had trouble here too. Use this code kMDItemDisplayName == "zoom.us"c

Accepted Answer

I've had trouble here too. Use this code kMDItemDisplayName == "zoom.us"c

So put the 'c' after the target string? Wow. Let me try it but thanks! Wow thanks!

kMDItemDisplayName doesn't do case-insensitive queries?
 
 
Q