Skip to content

Commit

Permalink
Add section about catch-all patterns, closes #385
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Jan 9, 2019
1 parent 8cfdcf4 commit 16d417c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16d417c

Please sign in to comment.