fd vs. find
find
is a popular Linux utility to search for files or directories given some conditions.
There is a Rust-rewritten alternative fd
to find
, which supports some modern features and possesses fast performance.
This page records some useful options for these 2 tools.
fd
You can run fd --help
to see full options, here are some frequently-used ones:
-g
: search name pattern, glob supported-t, --type
: file stype,f
for file,d
for directory,l
for symbolic link,s
for socket-s
: case sensitive,-i
: ignore case