Add section about catch-all patterns, closes #385

This commit is contained in:
sharkdp 2019-01-09 22:12:17 +01:00 committed by David Peter
parent 8cfdcf43f6
commit 2672d84160
1 changed files with 9 additions and 0 deletions

View File

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