You can do this:

(on my machine….)

~ $ mdfind "kMDItemFSName == Xcode.app”

/Applications/Xcode.app



> On Nov 6, 2014, at 8:50 PM, Michael <keybou...@gmail.com> wrote:
> 
>> 
>> -name search only match on the filename portion of bundles.
>> 
>> It may not be quite that simple, but I know it works as expected with .pdf 
>> .txt .jpg etc extensions, but things like .app and .sparsebundle are only 
>> matched on the name portion.
>> 
>> I don’t think this is new/
> 
> But it's not very useful.
> 
> mdfind -name Xcode
> 
> returns every file with "Xcode" anywhere in the filename. Case insensitive.
> 
> What's the proper way to use mdfind?
> 
> ---
> Entertaining minecraft videos
> http://YouTube.com/keybounce
> 
> _______________________________________________
> MacOSX-talk mailing list
> MacOSX-talk@omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/macosx-talk

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@omnigroup.com
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to