Working with Files

Search

Find files by name, or combine filters on kind, dates, size, and tags.

A search looks through the folder you’re in and every folder inside it. Results appear in the pane as they’re found.

Searching by name#

Choose File › Search (⌘F), type part of a name, and press Return. Cosmil finds every file and folder whose name contains what you typed, in any case. It searches names only, not what’s inside files.

Hidden files are searched only while they’re shown. To include them, choose View › Show Hidden Files before you search.

The search field keeps what you last typed in that pane, so you can open it again and change the search instead of starting over.

Combining filters#

File › Advanced Search (⇧⌘F) finds files by more than their name. You build a search out of filters:

  1. Choose what to filter on, then fill in the boxes that appear for it. Tab moves to the next box.
  2. Click Add Filter (⌥Return). Add as many filters as you need.
  3. Choose AND to find files that match every filter, or OR for files that match any of them.
  4. Click Run Search (⌘Return).
Advanced Search with two filters added, Name contains nova and Kind is PDF File, AND chosen, and the Run Search button
FilterChoicesValue
Nameis, is not, contains, starts with, ends withSome text. Tick Case Sensitive to match capitals exactly.
Kindis, is notFolder, or a kind of file such as PNG Image or PDF File
Modified, Created, Accessedmore than, less than, equal toA number of minutes, hours, days, weeks, months, or years ago
Sizemore than, less than, equal toA number of bytes, KB, MB, GB, TB, or PB
Tagshas, doesn’t have, has any, has noneA tag name, for has and doesn’t have

A few things to know:

  • A Size filter never matches folders, because a folder’s size isn’t known while searching.
  • Size units follow Size Units on the Appearance page of Settings. Switch it to Binary to search in KiB, MiB, and so on.
  • To change a filter, remove it with the × on its card and add it again.
  • Your filters are kept for the next Advanced Search in the same pane.

Working with the results#

Search results in list view, with the tab reading Search Results and a Containing Folder column showing where each PDF is

While a pane shows results, its tab reads Search Results. In list view, a Containing Folder column shows where each result is: click a folder there to go to it, or ⌘-click to open it in a new tab. You can turn the column off with Show Containing Folder Column When Searching on the Appearance page of Settings.

Right-click a result for Navigate into Enclosing Folder, Open Enclosing Folder in New Pane, and Open Enclosing Folder in New Tab.

  • Go › Back (⌘←) leaves the results for the folder you searched, and Go › Forward brings them back.
  • View › Refresh (⌘R) runs the search again.
  • View › Filter by Tag narrows the results to one tag. See Tags.

A search of a big folder can take a while. Each search shows in the Job Manager as Search in the folder’s name, with how many files it has looked at and how many matched. Click its × to stop it. The matches found so far stay in the pane.

Cosmil looks through the folders itself rather than asking Spotlight, so search works on drives Spotlight doesn’t index and in remote locations. On a server, it goes as fast as the server can list its folders. The Tags filter works only on your Mac’s own disks.