Link to benchmark section
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Peter · committed by GitHub · parent 108fce3 · Browse files · 1 file·+11 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+11 added−11 removed
- other:+11 added−11 removed
Provenance
- Commit
0cd9d8c- Tree
7954a6a- Author
David Peter <sharkdp@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent
108fce3
1 file changed+11 added−11 removed
modified:README.md+11 added-11 removed
10 unmodified lines11 12 ## Features13 * Convenient syntax: `fd PATTERN` instead of `find -iname '*PATTERN*'`.14 * Colorized terminal output (similar to *ls*).15-* It's *fast* (see benchmarks below).15+* It's *fast* (see [benchmarks](#benchmark) below).16 * Smart case: the search is case-insensitive by default. It switches to17 case-sensitive if the pattern contains an uppercase18 character[\*](http://vimdoc.sourceforge.net/htmldoc/options.html#'smartcase').19 * Ignores hidden directories and files, by default.6 unmodified lines26 ## Demo27 28 29 30-## Colorized output31-`fd` can colorize files by extension, just like `ls`. In order for this to work, the environment32-variable [`LS_COLORS`](https://linux.die.net/man/5/dir_colors) has to be set. Typically, the value33-of this variable is set by the `dircolors` command which provides a convenient configuration format34-to define colors for different file formats.35-On most distributions, `LS_COLORS` should be set already. If you are looking for alternative, more36-complete (and more colorful) variants, see37-[here](https://github.com/seebi/dircolors-solarized) or38-[here](https://github.com/trapd00r/LS_COLORS).39-30 ## Benchmark31 Let's search my home folder for files that end in `[0-9].jpg`. It contains ~150.00032 subdirectories and about a million files. For averaging and statistical analysis, I'm using33 [bench](https://github.com/Gabriel439/bench). All benchmarks are performed for a "warm51 unmodified lines85 86 Concerning *fd*'s speed, the main credit goes to the `regex` and `ignore` crates that are also used87 in [ripgrep](https://github.com/BurntSushi/ripgrep) (check it out!).88 89+## Colorized output90+`fd` can colorize files by extension, just like `ls`. In order for this to work, the environment91+variable [`LS_COLORS`](https://linux.die.net/man/5/dir_colors) has to be set. Typically, the value92+of this variable is set by the `dircolors` command which provides a convenient configuration format93+to define colors for different file formats.94+On most distributions, `LS_COLORS` should be set already. If you are looking for alternative, more95+complete (and more colorful) variants, see96+[here](https://github.com/seebi/dircolors-solarized) or97+[here](https://github.com/trapd00r/LS_COLORS).98+99 ## Install100 With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:101 ```102 cargo install fd-find243 unmodified lines