From 2672d8416010e4e0c9e3291653aa9cb95606a3f8 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Wed, 9 Jan 2019 22:12:17 +0100 Subject: [PATCH] Add section about catch-all patterns, closes #385 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c309dff..8e2ccba 100644 --- a/README.md +++ b/README.md @@ -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