Sub topic 10
Searching in Finder
This chapter assumes you know the basics of Finder windows and have used Spotlight from the menu bar or keyboard. Finder search uses the same index as Spotlight, but it gives you a window you can sort, filter, and keep open. It also lets you limit a search to one folder.
Starting a search in Finder
Open a Finder window and click the search field in the toolbar. You can also press Command-F while a Finder window is active. Type a word and press Return.
Finder then shows a search bar under the toolbar. It lists the matches and offers a few choices:
- This Mac, or the name of the current folder, sets where Finder looks.
- Name or Contents sets what Finder matches. Name matches only file names. Contents also matches text inside files.
- Save keeps the search as a saved search. The next chapter covers this.
Finder starts in the folder you were viewing, so a search from Documents looks in Documents. Click This Mac to widen it. This is the main reason to search in Finder: you can limit the search to one place and avoid unrelated matches.
Reading and sorting results
Finder shows results in the view you had selected: icons, list, columns, or gallery. List view is usually the most useful for searching. It adds columns such as Kind and Date Modified, and you can sort by any column.
To see where a result lives, select it and choose View > Show Path Bar. The path bar at the bottom of the window shows the folder chain. Double-click a folder in the path bar to open that location. Spotlight results can also be revealed in Finder with Command-Return.
Adding search criteria
The plus button (+) at the right of the search bar adds a criterion. Each one is a row with a pop-up menu and a value. Finder combines the rows, so a file must match all of them.
- Click the + button.
- In the first pop-up menu, choose an attribute such as Kind, Last modified date, or Created date.
- Set the value, for example PDF for Kind or Within last 7 days for a date.
- Click + again to add more rows.
If the attribute you want is not listed, choose Other… in the first pop-up menu. It opens a long list of metadata attributes, such as author, file size, or pixel width. Tick In Menu beside an attribute to keep it in the pop-up menu for later searches.
A typical combination is Kind is PDF, Last modified date is within the last 30 days, and Name contains "invoice". This finds recent invoices and ignores older ones.
You can also type the same filters into the search field. Typing kind:pdf invoice matches Spotlight's behavior from the earlier chapters.
Common problems
- Results come from the wrong place. Check the scope in the search bar. A search started in a folder stays in that folder until you click This Mac.
- A file you know exists is missing. The folder may be excluded in Spotlight settings, or the index may be out of date. A later chapter covers checking and rebuilding the index.
- Too many results. Add a Kind or date criterion instead of typing a longer search term.
Exercise
You search for "budget" in Finder while viewing your Downloads folder, but the file you want is in Documents and does not appear. What two things can you change in the search bar to find it?
Show answer
Change the scope from Downloads to This Mac, which widens the search beyond the current folder. You can also add a Kind or date criterion with the + button to narrow the larger result list, and switch between Name and Contents if the file name does not include "budget".