mirror of https://github.com/sharkdp/fd.git
Add section about catch-all patterns, closes #385
This commit is contained in:
parent
8cfdcf43f6
commit
2672d84160
|
@ -340,6 +340,15 @@ testenv/mod.rs
|
|||
tests.rs
|
||||
```
|
||||
|
||||
If you want to use this functionality to list all files in a given directory, you have to use
|
||||
a catch-all pattern such as `.` or `^`:
|
||||
``` bash
|
||||
> fd . fd/tests/
|
||||
testenv
|
||||
testenv/mod.rs
|
||||
tests.rs
|
||||
```
|
||||
|
||||
### Searching for a particular file extension
|
||||
|
||||
Often, we are interested in all files of a particular type. This can be done with the `-e` (or
|
||||
|
|
Loading…
Reference in New Issue