When searching for something in Mac Finder in a folder, it can be frustrating to have Finder turn up all of the matches in all of the subfolders as well. Here’s how to make Finder only search the current folder, not subfolders, so that your Finder search will exclude and ignore subfolders.
While this how-to will be most useful if you know the name of the file you are looking for, it can also be useful if you just know what it begins with.
The Problem: How to Make Your Mac Finder Search Ignore Subfolders
In our example, we are searching our Desktop for files with the word “the” in their name. Now, of course, it may be unlikely you would be searching for a filename by the term “the”, but it makes for a good example. Let’s say that we are searching for an image that we have about the cloud, but we can’t really remember exactly what the file name is.
As you can see, our search turned up all files in our Desktop folder (i.e. the Desktop directory) with the term “the” in their filenames, including in the resulting files that are in the subfolders. The realistic results of a search for “the” in a filename could number in the 100s or even 1000s, as indeed could the results of any search that you might do, which is why you want to be able to limit the search to just the actual folder you are searching in, and not any subfolders.
This just won’t do! We want to search for our file in our folder without finder including matching results from all of the subfolders!
Here’s how to do it.
[By the way, our trick for adding emoji icons to Mac mail folder names also works for Finder folders!]
How to Make Your Mac Finder Search Ignore Subfolders
The secret to making Mac Finder exclude the subfolders in the folder in which you are searching involves both doing some things, and not doing something.
|We know you're sick of ads on websites. But we still need to pay to keep the lights on for you. So instead of huge ads and video ads, we use smaller, plainer ads. Still, if you'd like to support the Internet Patrol but not the ads, please consider supporting us here:|
Finder offers you a choice of visualizing the contents of your folders in 4 different ways: as icons, in a flat text list, in columns, and in ‘Cover Flow’ (Cover Flow is sort of like a hybrid of text list and columns. In columns, when you click on a file, you see the iconic representation of it in the far right column. With Cover Flow, the Finder screen is split horizontally; in the bottom half is the text list of your files, and in the top half are icons representing each file, arranged horizontally, with the file which you have highlighted front and center and larger than the others.)
Anyways, to exclude subfolders from your Finder search, you want to be using list view. To do this, you can either click on the list view button from the four buttons representing the four views in the upper left of your finder window, or you can click on the View menu when in Finder, and select “as List”.
|Get notified of new Internet Patrol articles for free!
|Or Read Internet Patrol Articles Right in Your Inbox!
as Soon as They are Published! Only $1 a Month!
Imagine being able to read full articles right in your email, or on your phone, without ever having to click through to the website unless you want to! Just $1 a month and you can cancel at any time!
While you are there – and this is very important, you want to make sure that you are using only ‘sort by’ (i.e. sort by name, date, etc.), and not ‘arrange by’. To check this, go to the View menu again, and select ‘Show View Options’. Then make sure that Arrange By is set to none! Sort By can be set to whatever you want, but the following will not work if Arrange By is set to anything other than ‘none’. (For a good explanation of Arrange By versus Sort By, see this short article by our good friend Glenn Fleishman.)
The reason you must have your Arrange By set to none is because that is the only way you can manually both open all subfolders and, more importantly, collapse all subfolders.
Next, you want to select all of the contents in the folder in which you want to search. You can do this either from the Edit menu in Finder, or by holding down the Command key and ‘A’ at the same time.
When all of your files in the folder are selected, it will look something like this:
Now, very carefully hit Command and the right arrow. We say very carefully because if you have a bunch of files selected and accidentally hit the down arrow instead of the right arrow your computer will go crazy opening every single selected file!
Keeping the Finder window in the foreground, and with everything selected, and the folders all closed, begin typing the first word of the file name. No, don’t type it in the Search box, and no, don’t do a Control-F first.
Just start typing. And the next thing you know, the file you are looking for will be highlighted.
Now, of course you probably won’t be searching the Desktop folder, and you almost certainly won’t be looking for a file that begins with “the”, but we hope this example and how-to was helpful!
No Paywall Here!
The Internet Patrol is and always has been free. We don't hide our articles behind a paywall, or restrict the number of articles you can read in a month if you don't give us money. That said, it does cost us money to run the site, so if something you read here was helpful or useful, won't you consider donating something to help keep the Internet Patrol free? Thank you!
|Get notified of new Internet Patrol articles!