From 653377d521660a7f4175be391fbf48a6385541b6 Mon Sep 17 00:00:00 2001 From: David Peter Date: Fri, 11 Jan 2019 11:06:58 +0100 Subject: [PATCH] fd: minor adjustments (#2700) --- pages/common/fd.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/fd.md b/pages/common/fd.md index a0eede896..5c611ffca 100644 --- a/pages/common/fd.md +++ b/pages/common/fd.md @@ -1,23 +1,23 @@ # fd -> A simple, fast and user-friendly alternative to find. +> A simple, fast and user-friendly alternative to "find". -- Find files under current directory that match a pattern: +- Find files matching the given pattern in the current directory: `fd {{pattern}}` -- Find files that begin with foo: +- Find files that begin with "foo": `fd {{'^foo'}}` - Find files with a specific extension: -`fd --extension {{.ext}} {{pattern}}` +`fd --extension {{txt}}` -- Find files under a specific directory: +- Find files in a specific directory: `fd {{pattern}} {{path/to/dir}}` -- Include ignored and hidden files in search: +- Include ignored and hidden files in the search: `fd --hidden --no-ignore {{pattern}}`