Using mdfind -- how?!?
What am I doing wrong here? keybounceMBP:tmp michael$ mdfind -name Xcode.app keybounceMBP:tmp michael$ ls -d /Applications/Xcode.app/ 0 /Applications/Xcode.app// Mdfind does not return anything, yet it is there. --- Entertaining minecraft videos http://YouTube.com/keybounce ___ MacOSX-talk mailing list MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk
Re: Using mdfind -- how?!?
On Nov 7, 2014, at 00:51, Michael keybou...@gmail.com wrote: What am I doing wrong here? keybounceMBP:tmp michael$ mdfind -name Xcode.app keybounceMBP:tmp michael$ ls -d /Applications/Xcode.app/ 0 /Applications/Xcode.app// Mdfind does not return anything, yet it is there. Indeed, especially since $ mdfind Xcode.app finds it too. Jean-Christophe Helary ___ MacOSX-talk mailing list MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk
Re: Using mdfind -- how?!?
On Nov 6, 2014, at 3:37 PM, Jean-Christophe Helary jean.christophe.hel...@gmail.com wrote: On Nov 7, 2014, at 00:51, Michael keybou...@gmail.com wrote: What am I doing wrong here? keybounceMBP:tmp michael$ mdfind -name Xcode.app keybounceMBP:tmp michael$ ls -d /Applications/Xcode.app/ 0 /Applications/Xcode.app// Mdfind does not return anything, yet it is there. Indeed, especially since $ mdfind Xcode.app finds it too. -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/ -- He'd never asked for an exciting life. What he really liked, what he sought on every occasion, was boredom. The trouble was that boredom tended to explode in your face. Just when he thought he'd found it he'd be suddenly involved in what he supposed other people - thoughtless, feckless people - would call an adventure. And he'd be forced to visit many strange lands and meet exotic and colourful people, although not for very long because usually he'd be running. He'd seen the creation of the universe, although not from a good seat, and had visited Hell and the afterlife. He'd been captured, imprisoned, rescued, lost and marooned. Sometimes it had all happened on the same day. ___ MacOSX-talk mailing list MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk
Re: Using mdfind -- how?!?
-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
Re: Using mdfind -- how?!?
on 2014-11-06 18:50 Michael wrote mdfind -name Xcode returns every file with Xcode anywhere in the filename. Case insensitive. What's the proper way to use mdfind? mdfind kMDItemFSName == XCode.app ___ MacOSX-talk mailing list MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk