How to create a spotlight search for all files inside a folder?
In Lion, you have All My Files
to search everything in your home folder. However, when you activate finder's spotlight, via command + F
you can start searching only by first typing something.
How can I search for everything in one particular folder (say, external HDD) without specifying a search token?
Solution 1:
After some more research, it reminds me that finder's spotlight had boolean UI since OS X 10.5. You can filter for "not a folder" for All My Files experience, or with a little bit more filter for "all files".
It feels a bit hack-y though.
Solution 2:
You can create a saved search similar to "All My Files" but only searching a specific folder:
Open the folder you want to search
Enter
-kind:folder
into the search fieldAt the top of the window make sure to choose to search only the folder you're in. It will select "This Mac" by default, unless you've changed your Finder preferences.
Click "Save" (directly under the search field) to save your search and add it to the sidebar.
(Optional) Change the window to icon view, then change View Options (Cmd+J) to arrange by Kind and sort by Date Last Opened.