I'm not exactly clear on what you mean by "Smart Search". I'm assuming you're referring to a "Smart Folder", which allows you to specify and save Spotlight search criteria?
In Lion a Smart Folder with saved Spotlight criteria will show up in Finder as a folder with a gear icon. Smart Folders show up in ~/Library/Saved Searches/
with an extension of .savedSearch
, which are actually preference lists holding aliases that create a virtual folder.
Looking at your screen capture it doesn't appear you're using a Smart Folder. Another observation is that your Finder search shows the files in the sub
directory, where in Terminal you are drilling further down. Since it appears to be a standard Spotlight search it makes perfect sense why you're not seeing the same results in Finder and Terminal.
By default Spotlight does not index or search System folders, which includes the Library folder that you're searching. To resolve the inconsistency here's what you need to do:
In Finder navigate to:
- ~/Library/Application Support/iLifeAssetManagement/assets/sub/
- In the
sub
window click inside the search box and hit option return
Search: This Mac
| sub
should appear just below
- Click
sub
and then +
on the right side
- From the dropdown menu that appears select
Kind
is Image
All
- Click the
save
button on the right and name it.
If you still aren't getting the same search results vs. Terminal then look through the search criteria options (+
) to make adjustments. Hopefully this helped you, and/or anyone else that needs to setup a "smart search".