Added example for searching exactly a filename

This commit is contained in:
Sean Joseph 2021-06-21 21:31:16 -04:00 committed by David Peter
parent ba60a163fe
commit d34e18a58c
1 changed files with 9 additions and 0 deletions

View File

@ -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: