rfind
is a simple clone of the find
command written in Rust.
Install the program with cargo
:
cargo install rfind
The usage is very similar to the find
command, but a lot simpler.
rfind starting-point expression
where starting-point
is a path to a directory and expression
is a list of options.
There are only two options:
- -name <regex>
matches the given regex against the file name;
- -type f|d|l
matches the file type and it can be:
- f
matches a file;
- d
matches a directory;
- l
matches a symbolic-link.