Is there any program available for searching files in Mac OS X with wildcard(GLOB) support? I am looking something similar to SearchEverything in开发者_如何学Python Windows??
quicksilver/spotlight/google quick searchbox/alfred app doesn't solve my problem :(
thanks
You can use mdfind for files that have been indexed by Spotlight. To do wildcards you need use the following format:
mdfind "kMDItemDisplayName=='*back*'c"
You can use this approach as "Raw Queries" in the Finder GUI as well. Example pic below, and see my answer at https://superuser.com/a/491119/66255 for more info.
When you open the finder, instead of searching in the little box, hit Command+F. This will bring up more options to choose from:
There are also more options that are hidden by default. Under the "name/kind" list is the option for "other". This will present you with even more stuff to choose from:
Almost kind of overwhelming at how many hidden options there are, and I believe it changes depending on which programs you have installed. BUT, better than the (GUI) alternative I suppose...
Hop that helps...
use the unix find command!
http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm
Besides find
, depending on what you are trying to do you might find the OS X mdfind command useful. It's a command line interface to the metadata-store used by Spotlight.
精彩评论