2017-05-12 11:50:03 +02:00
|
|
|
# fd
|
2017-05-12 14:16:34 +02:00
|
|
|
[![Build Status](https://travis-ci.org/sharkdp/fd.svg?branch=master)](https://travis-ci.org/sharkdp/fd)
|
|
|
|
|
|
|
|
`fd` is a modern, convenient and fast replacement for `find`.
|
2017-05-09 23:45:02 +02:00
|
|
|
|
2017-05-12 14:16:34 +02:00
|
|
|
## Features
|
|
|
|
* Convenient syntax: `fd PATTERN` instead of `find -iname '*PATTERN*'`.
|
|
|
|
* Colorized output.
|
2017-05-09 23:45:02 +02:00
|
|
|
* 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 14:16:34 +02:00
|
|
|
* Ignore hidden directories / files by default.
|
2017-05-12 19:21:26 +02:00
|
|
|
* Unicode-aware.
|
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 14:16:34 +02:00
|
|
|
cargo build --release
|
2017-05-09 23:29:14 +02:00
|
|
|
```
|