Saturday, August 15, 2015

How to Bring Back "Search For" in Lion's Finder Sidebar


You have questions, we have answers. It's a match made in Heaven. Today's question:

"What happened to "Search For" in the Finder sidebar? I liked being able to use this occasionally and don't understand why it was dropped. Is there any way to get it back? Thanks. Sincerely, Anonymous."

What a great question, with a double-duty answer. With one blog post we can solve a problem for Lion users while simultaneously introducing Snow Leopard users to something they might not know about. I can't wait.

Here's a refresher, for those of you wondering what Anonymous is talking about. The Finder in Snow Leopard has something in its Sidebar that Lion doesn't have, and I've bordered it here in red.

By default, without you doing anything, Snow Leopard has this nifty "Search For" section, and when you click one of the items in that section the Finder shows all of the files that match. Here, I clicked "All Images" and Snow Leopard's Finder is showing 9,997 image files, from all over my hard disk.

You will also notice the "Today," "Yesterday," and "Past Week" items. Click them to find all of the files that have changed for the given timeframe. If you've ever forgotten what you named a document, but you know you worked on it yesterday, clicking on "Yesterday" in the Search For section will help you find it.

You can see that this "Search For" stuff could be handy. But Lion doesn't have it. Here's a look at the Sidebar in Lion's Finder-- no "Search For" to be found.

It's just not there. What a drag.

The good news is you can put it back with just a little work on your part. The really good news is that you can do even better than the standard Search For section (and that goes for you non-Lion users-- what you'll learn here will work for you in Snow Leopard and "regular" Leopard too).

Here's how you do it.

First, click on the Desktop, or the Finder icon in the Dock, or on a Finder window-- the point being that Step One is to be sure the Finder is the active program. Not sure? Look up by the Apple menu. If the next thing to the right says "Finder" you're ready to go. If not, click the Desktop (or the Finder icon in the Dock, or on a Finder window) and make it so.

Next, go to the File menu and choose Find. You're going to find something.

In this case, we're going to find every image on the hard disk-- that is, we want "Kind" to be "Image." Here's what the top of the Find box looks like. (Note the Save button. We're going to save our Find criteria when we're done.)



Click where it says "Any" and change it to Image. You will get another little menu next to that menu, where you could, if you wanted to, choose to only find JPEG or PNG or whatever. Leave it set to "All." Then click the Save button.

What you're doing here is saving the Find requests. Give it a good name and be sure the Add to Sidebar box is checked. Don't worry about where to save your search-- Apple takes care of that part for you. See the picture below.



Now have a look at your Finder's Sidebar. Your saved search will be there. It won't have a red arrow pointing to it like mine does here but it will be there.



Nice going. Now try another one! Go to File, come down to Find, and let's make one that says "Last modified date is yesterday." Here's how it looks:



Save that one with a good name... then do one more for "Last modified date is today" and you're well on your way to recreating the complete "Search For" section that Apple left out of Lion.

Here's how Lion's Finder Sidebar looks on my Mac after adding the three saved searches we did here (and I have clicked on the All Images search so you can see what it does).

You can really go to town with this technique, searching and saving and displaying your saved searches in the Sidebar as much as you want to.

Here's the kicker: you can do all of the above in Snow Leopard (and Leopard) too! Of course, you don't have to do it, because Apple's put All Images, and Today, and Yesterday in the Sidebar already-- but you can do so many other things using this technique! Search for every document that has the word "Barbeque" in it! Find every image that was modified within the last 30 days! Find every PDF whose size is greater than 5 megabytes! The sky's the limit. Do your Find, click the Save button, give it a good name-- and from then on, any time you click the saved search in the Sidebar, it's as if you manually did a Find the hard way.

If you're wondering whether these saved searches are "live", the answer is YES. You're saving the search criteria, not the search results. Every time you click a saved search in the Sidebar it does the search all over again. It's always fresh.

Here are a couple of bonus nifty things that you should know about.
  • Technically, what you're doing here is making "Smart Folders." That's what Apple calls them.
  • You will see similar "Smart" items in iPhoto ("Smart Albums") and in iTunes ("Smart Playlists").
  • You can drag your Smart Folders upward in the Sidebar but only if you click on the little gear icon (not on the name).
  • You can control-click a Smart Folder and "Show Search Criteria" if you want to make adjustments, or even just to remember what your Smart Folder does.
  • You can Command-drag a Smart Folder out of the Sidebar if you want to get rid of it. However, this does not really delete the Smart Folder. It just gets it out of the Sidebar.
Gee that was fun. Thanks for the question, Anonymous!

any question? enter your email below and I will help you