I spend most of my time in the terminal. I also dislike file indexing services like baloo
. Thus, when I misplace a file, I look for it the usual way: using the find
utility.
Now, find
is a good program, but I was never completely satisfied with it. First, it is bloated1 with features I never use and rather slow. Second, its command arguments syntax is, to put it mildly, insane. Contrary to most other GNU utilities, the order of options matters, and long options are written with only one dash (-name
instead of --name
). This is inconsistent and drives me nuts.
Luckily, there exists a great replacement for the default find
command. Introducing:
fd
A simple, fast and user-friendly alternative to find
. Its main features that make it better than the find
utility:
- considerably faster
- mostly sensible syntax (no need for
-iname
, etc…) - TWO FEWER CHARACTERS TO TYPE!!!1!
It is in the community
repo, so just install it with
sudo pacman -S fd
Official github, with detailed readme and benchmarks:
https://github.com/sharkdp/fd
Oh yeah, and it’s written in Rust, so you get extra hipster points for using it
1 The manpage for find
is 1427 lines long and contains 11292 words. That, ladies and gentlemen, is bloat.