Skip to content
Myr

Add section about catch-all patterns, closes #385

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by David Peter · parent 8cfdcf4 · Browse files · 1 file+9 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−0 removed

  • other:+9 added−0 removed

1 file+9 added−0 removed

modified:README.md+9 added
338 unmodified lines
339testenv/mod.rs340tests.rs341```342343If you want to use this functionality to list all files in a given directory, you have to use344a catch-all pattern such as `.` or `^`:345``` bash346> fd . fd/tests/347testenv348testenv/mod.rs349tests.rs350```351352### Searching for a particular file extension353354Often, we are interested in all files of a particular type. This can be done with the `-e` (or355`--extension`) option. Here, we search for all Markdown files in the fd repository:
109 unmodified lines