Mac Os Search For File Type


The Search box on Mac’s toolbar is all you usually need to find most files and folders. For additional options, Mac OS X Snow Leopard lets you add the Find controls, which you can use to create custom searches with more complex criteria. To locate a file by using the Find controls, follow these steps:.

  1. Mac Os File
  2. Mac Os Search For File Type
  3. Mac File System Type

Important:This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.

  1. MacOS (previously Mac OS X) is Unix-based desktop operating system for iMac, MacBook, MacBook Air, MacBook Pro, Mac Mini and Mac Pro computers, developed by Apple, Inc. The first version of is called macOS Sierra and it is successor of OS X El Capitan. It is distributed as a free upgrade through Mac.
  2. Start a Finder search. There are several ways to access Spotlight via the Finder.

The following sections discuss the file systems supported by OS X and the impact they can have on application performance.

Supported File Systems

OS X supports a variety of file systems and volume formats, including those listed in Table 1. Although the primary volume format is HFS Plus, OS X can also boot from a disk formatted with the UFS file system. Future versions of OS X may be bootable with other volume formats as well.

Table 1 File systems supported by OS X

File System



Mac OS Standard file system. Standard Macintosh file system for older versions of Mac OS.

HFS Plus

Mac OS Extended file system. Standard Macintosh file system for OS X.


Unix File System. A variant of the BSD “Fast File System.”


Used for directly accessing files on the web. For example, iDisk uses WebDAV for accessing files.


Universal Disk Format. The standard file system for all forms of DVD media (video, ROM, RAM and RW) and some writable CD formats.


The MS-DOS file system, with 16- and 32-bit variants.


Used for sharing files with Microsoft Windows SMB file servers.


AppleTalk Filing Protocol. The primary network file system for all versions of Mac OS.


Network File System. A commonly-used BSD file sharing standard. OS X supports NFSv2 and NFSv3 over TCP and UDP.


A file system wrapper for the standard Internet File Transfer Protocol.

Accessing File-System Data

Every file system stores metadata about the files in the file system. This metadata describes the file but is not part of the file itself. The metadata for a file can include attributes such as Mac OS file type information, BSD-style file access permissions, and creation and modification dates. Because of the differences in how file systems store this data, accessing metadata can be a potentially expensive operation on some file systems.

It’s important to realize that if a piece of data is not immediately present in the file system, that information might have to be calculated. Retrieving file-system information is a time-consuming operation as it is, but if the information must be calculated or read separately from disk, it becomes even more time-consuming. The valence of a directory—the number of items in that directory—is a typical example of information that must be calculated on most file systems.

When calling file-system routines, you should always carefully consider what information you actually need and request only that information. For example, a single call to PBGetCatInfoSync returns Finder file type information from a file or folder. On HFS and HFS Plus file systems, the penalty for retrieving this metadata is minimal because it is stored in the file’s catalog node and read into memory along with the file name. However, on other file systems, this data may have to be read separately, incurring another read operation. Instead of PBGetCatInfoSync, you should have used FSGetCatalogInfo or PBGetCatalogInfoSync and specified exactly which pieces of information you wanted.

Copyright © 2003, 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-03-10

The Finder is the first thing that you see when your Mac finishes starting up. It opens automatically and stays open as you use other apps. It includes the Finder menu bar at the top of the screen and the desktop below that. It uses windows and icons to show you the contents of your Mac, iCloud Drive, and other storage devices. It's called the Finder because it helps you to find and organize your files.

Open windows and files

To open a window and see the files on your Mac, switch to the Finder by clicking the Finder icon (pictured above) in the Dock. Switching to the Finder also reveals any Finder windows that might be hidden behind the windows of other apps. You can drag to resize windows and use the buttons to close , minimize , or maximize windows. Learn more about managing windows.

When you see a document, app, or other file that you want to open, just double-click it.

Change how your files are displayed

To change how files are displayed in Finder windows, use the View menu in the menu bar, or the row of buttons at the top of the Finder window. You can view files as icons , in a list , in columns , or in a gallery . And for each view, the View menu provides options to change how items are sorted and arranged, such as by kind, date, or size. Learn more about customizing views.

Mac Os Search For File Type

When you view files in a gallery, you can browse your files visually using large previews, so it's easy to identify images, videos, and all kinds of documents. Gallery View in macOS Mojave even lets you play videos and scroll through multipage documents. Earlier versions of macOS have a similar but less powerful gallery view called Cover Flow .

Gallery View in macOS Mojave, showing the sidebar on the left and the Preview pane on the right.

Use the Preview pane

The Preview pane is available in all views by choosing View > Show Preview from the menu bar. Or press Shift-Command (⌘)-P to quickly show or hide the Preview pane.

macOS Mojave enhances the Preview pane in several ways:

  • More information, including detailed metadata, can be shown for each file. This is particularly useful when working with photos and media, because key EXIF data, like camera model and aperture value, are easy to locate. Choose View > Preview Options to control what information the Preview pane can show for the kind of file selected.
  • Quick Actions let you easily manage or edit the selected file.

Use Quick Actions in the Preview pane

With Quick Actions in macOS Mojave, you can take actions on a file without opening an app. Quick Actions appear at the bottom of the Preview pane and vary depending on the kind of file selected.

  • Rotate an image
  • Mark up an image or PDF
  • Combine images and PDFs into a single PDF file
  • Trim audio and video files

To manage Quick Actions, click More , then choose Customize. macOS Mojave includes a standard set of Quick Actions, but Quick Actions installed by third-party apps also appear here. You can even create your own Quick Actions using Automator.

Use Stacks on your desktop

macOS Mojave introduces Stacks, which lets you automatically organize your desktop into neat stacks of files, so it's easy to keep your desktop tidy and find exactly what you're looking for. Learn more about Stacks.

The sidebar in Finder windows contains shortcuts to AirDrop, commonly used folders, iCloud Drive, devices such your hard drives, and more. Like items in the Dock, items in the sidebar open with just one click.

To change the items in your sidebar, choose Finder > Preferences from the Finder menu bar, then click Sidebar at the top of the preferences window. You can also drag files into or out of the sidebar. Learn more about customizing the sidebar.

Search for files

To search with Spotlight, click the magnifying glass in the menu bar, or press Command–Space bar. Spotlight is similar to Quick Search on iPhone or iPad. Learn more about Spotlight.


To search from a Finder window, use the search field in the corner of the window:


When you select a search result, its location appears at the bottom of the window. To get to this view from Spotlight, choose “Show all in Finder” from the bottom of the Spotlight search results.

In both Spotlight and Finder, you can use advanced searches to narrow your search results.

Mac Os File

Delete files

To move a file to the Trash, drag the file to the Trash in the Dock. Or select one or more files and choose File > Move To Trash (Command-Delete).

Mac Os Search For File Type

To remove a file from the Trash, click the Trash to open it, then drag the file out of the Trash. Or select the file and choose File > Put Back.

Mac File System Type

To delete the files in the Trash, choose File > Empty Trash. The storage space used by those files then becomes available for other files. In macOS Sierra, you can set up your Mac to empty the trash automatically.