fd for MAC

Free, open-source command-line tool to find files fast, with simple syntax and smart defaults.

fd Overview

fd is a free, open-source command-line program for finding files and folders. It does the same job as the built-in find command, but with a much simpler syntax: type fd followed by part of a name, and it lists every match in the current folder and below, in color. It is fast because it searches folders in parallel, and by default it skips hidden files and anything in your .gitignore. fd is made by David Peter and is dual-licensed under the MIT license and the Apache License 2.0.

fd runs in Terminal on Apple Silicon and Intel Macs and installs with Homebrew (brew install fd) or MacPorts. It does not try to do everything find does; it covers the searches people make most often, with sensible defaults.

Key Features

fd makes everyday file searches short and quick.

  • Simple syntax: fd PATTERN instead of find -iname '*PATTERN*'.
  • Regular expressions and globs: search with regex by default, or with glob patterns.
  • Very fast: searches folders in parallel.
  • Colored output: highlights file types the same way as ls.
  • Smart case: case-insensitive unless your pattern contains a capital letter.
  • Sensible filtering: skips hidden files and .gitignore entries; use -H and -I to include them.
  • File extensions: -e finds files by extension, such as fd -e pdf.
  • Run commands: -x runs a command for each result in parallel, -X once for all results.

What’s New in Version 10.5.0

fd 10.5.0 adds two options and fixes several issues.

  • New --exact option to match the whole file name exactly
  • New --ignore-parent option to override --no-ignore-parent
  • Control characters in file names are made safe when output goes to a terminal
  • Invalid working folders are handled gracefully with --full-path
  • Clearer warning when a search pattern contains a path separator

fd FAQ

Is fd free?

Yes. fd is free and open source, dual-licensed under the MIT license and the Apache License 2.0.

How do I install fd on a Mac?

Run brew install fd in Terminal if you use Homebrew, or port install fd with MacPorts. Ready-made programs for Apple Silicon and Intel Macs are on its GitHub releases page.

How is fd different from find?

fd has a simpler syntax, colored output, smart case and sensible defaults such as skipping hidden and ignored files, and it is very fast. It does not cover every find feature, only the most common searches.

How do I find files by extension with fd?

Use -e followed by the extension. For example, fd -e md lists all Markdown files in the current folder and below.

Why doesn't fd find hidden files?

By default fd skips hidden files and folders and anything listed in .gitignore. Add -H to include hidden files, -I to include ignored ones, or both.

Is fd case-sensitive?

fd uses smart case: a pattern in lower case matches any case, and a pattern with a capital letter matches case exactly.

How do I run a command on every file fd finds?

Use -x to run a command for each result, in parallel. For example, fd -e zip -x unzip unzips every zip file it finds. Use -X to run the command once with all results.

Can fd use glob patterns instead of regular expressions?

Yes. fd uses regular expressions by default; add --glob to search with glob patterns like *.txt.

Does fd work well with fzf?

Yes. Many people set fd as the file source for fzf, which makes fuzzy file search faster and respects .gitignore.

Where does the fd download on fd.FULLMAC.app come from?

The download button leads to fd's official GitHub page at https://github.com/sharkdp/fd, with the install instructions and releases. fd.FULLMAC.app does not change or repackage the tool.

Similar Apps

More from David Peter

FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.