mirror of https://github.com/sharkdp/fd.git
Added example for searching exactly a filename
This commit is contained in:
parent
ba60a163fe
commit
d34e18a58c
|
@ -115,6 +115,15 @@ src/lscolors/mod.rs
|
|||
tests/testenv/mod.rs
|
||||
```
|
||||
|
||||
### Searching for a particular file name
|
||||
|
||||
To find files with exactly the provided search pattern, use the `-g` (or `--glob`) option:
|
||||
``` bash
|
||||
> cd /bin
|
||||
> fd -g sh
|
||||
sh
|
||||
```
|
||||
|
||||
### Hidden and ignored files
|
||||
By default, *fd* does not search hidden directories and does not show hidden files in the
|
||||
search results. To disable this behavior, we can use the `-H` (or `--hidden`) option:
|
||||
|
|
Loading…
Reference in New Issue