Tag Info

Hot answers tagged

19

Finder -> Preferences -> Advanced


15

Search by Kind One of the most useful ways to narrow down a search is by using the kind: keyword. This allows you to restrict your list of results to a certain file format. For instance, if you type time machine kind:pdf, Spotlight will pull up only PDF files containing the words time and machine. You can also limit your search to e-mail messages, music ...


12

Other than your Finder having jaundice, this should be a simple fix. The following command will clear the volumes local store and rebuild it if necessary; Open up Terminal and type: # sudo mdutil -E / You will be asked for your password, provide it, as this command requires administrator privileges to run. After confirming your Spotlight index will be ...


11

There are a variety of ways of searching for a file by name. I'd just open the Terminal and run locate xxxxxxxx-xxxxxxxx, although the locate index is only updated once a week, so if it's a new file it might not be listed. If you want, you can manually force an update with sudo /usr/libexec/locate.updatedb (you'll need to enter your admin password for the ...


10

Open a finder window Open the folder you wish to search in Click in the search box Type the text you want to find A dropdown should appear like the one in the image below which allows you to select the 'Filename contains' option If you've already run the search and want to alter the search to only look for files with your search term in the filename, ...


7

I typically use TextMate: TextMate (1) is/was a buy product, but TextMate 2 is currently under active openSource development on gitHub and free to use.


6

Searching SMS messages was disabled due to battery life and performance concerns for the 3G, you can see this in the iPhone: Which iOS 4 software features does my iPhone support? article on apple.com http://support.apple.com/kb/HT4204 iPhone 3G does not support Spotlight search for SMS/MMS messages.


6

the query string is defined in : ~/Library/Safari/Configurations.plist.signed but the file is signed and cannot be edited without being replaced by safari. Also, it seems that every time you use this search bar, Safari hits This file on apple.com which can make one assume that Safari compares the 2 files and replaces the local one when needed. I think ...


6

You might want to try the following: Search for and highlight the file in Spotlight as usual. Hold down cmd (command) and press Enter (return). This should open the file's containing folder, and works in all recent versions of OS X.


5

There are many extensions not listed on Apple's page. However, if they're not on the main page, they're not on Apple's site at all. Your cmd-f solutions is the best option if you want to search just the extensions that Apple has listed. If you want to broaden your search to more of the extensions available, turn to third-party sites: ...


5

You should use the strings application in the Terminal. strings filename(s) | grep text_to_search_for From Wikipedia: In computer software, strings is a program in Unix-like operating systems that finds and prints text strings embedded in binary files such as executables. I'm not aware of any way to use Finder to search for text in binary files.


5

Yes, in both the iBooks and Kindle apps, you can search the full text (excluding text in images) of the book you are currently reading. Here's how to do that in each app: iBooks app While reading a book, tap the screen. A magnifying glass icon becomes visible in the top right, along with other controls. Clicking the magnifying glass icon brings up a ...


5

I don't have an iPhone anymore, but my memory tells me this: iPhone Search using the standard search bar. The web search suggestions are at the top. The website search results of the currently viewed website are at the bottom. iPad Search using the standard search bar. The web search suggestions are at the top. To search the website use the entry ...


5

I looked at some of the saved search files in Finder's application bundle, and for example /System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch/search.savedSearch used a format like this for excluding directories: <key>FXScopeArrayOfPaths</key> <array> <string>~/</string> ...


5

You need to escape your quotes like so: mdfind \"I love Apple\" -onlyin ~/Documents This results in just the one document being found: ~/Documents/test1.txt Without escaping them, I don't think the quotes actually get passed to the mdfind command, they're just interpreted by your shell to say that I love Apple is a single argument. With the ...


5

The keyboard shortcut was changed to ⌃⌘F. If you open a window with ⌃⌘F, there is no indication in the UI that Finder is matching only filenames other than that the "Name matches" item in the suggestion list is selected: Finder should only match filenames even if you don't press return though.


4

Use locate, grep or find at the command line. Open Applications>Utilities>Terminal and either use: sudo locate -0 '*.txt' | xargs -0 grep WORD 2>/dev/null Substitute WORD with the word you want to search for. This is by far the fastest method. I'd recommend to recreate the locate database first to improve accuracy: sudo /usr/libexec/locate.updatedb ...


4

You can make a smart mailbox where "From" "ends with" "ru".


4

dupeguru picture ed is free and does exactly that. http://www.macupdate.com/app/mac/22724/dupeguru-picture-edition


4

I'd venture to guess and say that the App Store ranking algorithm is a company secret, much like Google's web search rankings. It seems to me that the radical changes in placement you are witnessing are as much the fickleness of App Store customers as anything else. Correlation isn't causation by any means, but it seems fairly clear by your description of ...


4

Apple does not search for very old text messages as it makes the search much slower. There is no setting to modify the period of messages it should go through, but if you really need this then you can jailbreak and SSH into your iPhone. You can then edit the .plist file and make it search for messages that are even 2 years old. Note: This will significantly ...


4

Yes, if you start typing, it'll select files/folders with what you type. The only difference between this functionality and Ubuntu's is that OS X's equivalent of this feature doesn't show what you're typing.


4

You quote your search string (put the quotes in the query) " s " to force Preview to match the exact query


4

The double quotes can also be placed inside single quotes: mdfind '"exact phrase"' This would search only in the contents: mdfind 'kMDItemTextContent=="*exact phrase*"'


4

Finder offers the Go to Folder function (found in the Go menu, or by pressing ⇧⌘G), which allows you to type in a path, and has tab-completion (i.e. typing /us TAB r TAB doc TAB gets /Users/rob/Documents/). It's not perfect, the main downfall is that it doesn't present multiple options, it just chooses the last alphabetical match (i.e. if you type do, in a ...


4

As far as I know, unfortunately it's not possible to do this. Strangely, I also set the 'Document Container' criteria within Spotlight and it wouldn't show any results at all. This is extremely poor behaviour, I agree. You can give Apple feedback on OS X (from which you can post feedback on Spotlight) here.


4

Sublime Text is what I use, it's great! Sublime Text: is free to evaluate (no time limit imposed) can search and replace can search by regular expression can search across multiple files can search across nested directory structures can use values from the search in replace expression has an easy to use user interface


4

If you hold option the (+) button to add a search criteria will become a (…) and an Any/All/None block. Set this to None. For the criteria select Document Container. It won't be in the default list alongside Name, Kind, etc. Select Other… to select it from a list of additional criteria so long it has its own search feature: Set this to the name of the ...


4

Fire up Safari and check the settings for the default search engine. For me that is google and searching the way you described it for me opens safari (currently my default browser) with a google search. The option is right there on the first settings tab. I included an image detailing where to find it (sorry for the german):


4

Outlook 2011 for Mac can do that: just skip the space. So, from:John. It shows your smart search options as you type. Click one of these (or just type them with the colon), and it'll search only that type of thing: Or, you can click in the quick search box, then click the "From" button in the "search" ribbon section that appears... ...then type ...



Only top voted, non community-wiki answers of a minimum length are eligible