2017-05-12 11:50:03 +02:00
|
|
|
# fd
|
2017-05-09 23:45:36 +02:00
|
|
|
A modern, convenient and fast replacement for `find`.
|
2017-05-09 23:45:02 +02:00
|
|
|
|
|
|
|
**Features:**
|
2017-05-12 11:50:03 +02:00
|
|
|
* Easy syntax: `fd PATTERN` instead of `find -iname '*PATTERN*'`.
|
2017-05-09 23:45:02 +02:00
|
|
|
* Colored output.
|
|
|
|
* Regular expressions.
|
2017-05-12 13:32:30 +02:00
|
|
|
* Smart case: the search is case-insensitive by default, but will be
|
|
|
|
case-sensitive if the pattern contains an uppercase character.
|
2017-05-12 11:50:03 +02:00
|
|
|
* The command name is *50%* shorter than `find` :-).
|
2017-05-09 23:29:14 +02:00
|
|
|
|
2017-05-09 23:35:34 +02:00
|
|
|
## Examples
|
|
|
|
``` bash
|
2017-05-12 11:50:03 +02:00
|
|
|
> fd
|
2017-05-09 23:35:34 +02:00
|
|
|
README.md
|
2017-05-12 11:50:03 +02:00
|
|
|
src
|
|
|
|
src/main.rs
|
|
|
|
Cargo.toml
|
2017-05-09 23:35:34 +02:00
|
|
|
LICENSE
|
2017-05-12 11:50:03 +02:00
|
|
|
Cargo.lock
|
2017-05-09 23:35:34 +02:00
|
|
|
|
2017-05-12 11:50:03 +02:00
|
|
|
> fd rs
|
|
|
|
src/main.rs
|
2017-05-09 23:35:34 +02:00
|
|
|
|
2017-05-12 11:50:03 +02:00
|
|
|
> fd '^[A-Z]+$'
|
2017-05-09 23:35:34 +02:00
|
|
|
LICENSE
|
|
|
|
```
|
|
|
|
|
2017-05-09 23:29:14 +02:00
|
|
|
## Build
|
|
|
|
```bash
|
2017-05-12 11:50:03 +02:00
|
|
|
cargo build
|
2017-05-09 23:29:14 +02:00
|
|
|
```
|