Utilities

Excellent Utilities: fd – superior alternative to the venerable find

This is a series highlighting best-of-breed utilities. We cover a wide range of utilities including tools that boost your productivity, help you manage your workflow, and lots more besides.

The find program searches a directory tree to find a file or group of files. It traverses the directory tree and reports all occurrences of a file matching the user’s specifications. The find program includes powerful searching capability. find is one of the oldest utilities in the UNIX ecosystem.

fd is a utility that searches for files in a directory hierarchy. It offers a number of notable improvements to the venerable find. fd is written in Rust.

Installation

fd is a popular utility so it’s included in some distro’s repositories. For example, it’s included in the Community Repository for Arch.

However, even if there’s a convenient package available in your distro, you may not be getting the latest version. Fortunately, manual installing is straightforward. At a shell, issue the following commands:

$ git clone https://github.com/sharkdp/fd.git
$ cd fd
$ cargo build
$ cargo install
$ cargo install --path

Cargo is the Rust package manager.

Next page: Page 2 – In Operation

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary


Complete list of articles in this series:

Excellent Utilities
tmuxA terminal multiplexer that offers a massive boost to your workflow
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
PaperworkDesigned to simplify the management of your paperwork
AbricotineMarkdown editor with inline preview functionality
mdlessFormatted and highlighted view of Markdown files
fkillKill processes quick and easy
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
McFlyNavigate through your bash shell history
LanguageToolStyle and grammar checker for 30+ languages
pecoSimple interactive filtering tool that's remarkably useful
Liquid PromptAdaptive prompt for Bash & Zsh
AnanicyShell daemon created to manage processes’ IO and CPU priorities
cheat.shCommunity driven unified cheat sheet
ripgrepRecursively search directories for a regex pattern
exaA turbo-charged alternative to the venerable ls command
OCRmyPDFAdd OCR text layer to scanned PDFs
WatsonTrack the time spent on projects
fontpreviewQuickly search and preview fonts
fdWonderful alternative to the venerable find
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.