From 15493ebc15610cc6852cb3343c4540b43ea7c19d Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Wed, 7 Dec 2022 15:57:21 +1000 Subject: [PATCH] fd: refresh (#9591) --- 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 35b4757047..d441942dbe 100644 --- a/pages/common/fd.md +++ b/pages/common/fd.md @@ -4,13 +4,13 @@ > Aims to be faster and easier to use than `find`. > More information: . -- Recursively find files matching the given pattern in the current directory: +- Recursively find files matching a specific pattern in the current directory: -`fd {{pattern}}` +`fd "{{string|regex}}"` - Find files that begin with `foo`: -`fd '^foo'` +`fd "^foo"` - Find files with a specific extension: @@ -18,12 +18,12 @@ - Find files in a specific directory: -`fd '{{pattern}}' {{path/to/directory}}` +`fd "{{string|regex}}" {{path/to/directory}}` - Include ignored and hidden files in the search: -`fd --hidden --no-ignore '{{pattern}}'` +`fd --hidden --no-ignore "{{string|regex}}"` - Execute a command on each search result returned: -`fd '{{pattern}}' --exec {{command}}` +`fd "{{string|regex}}" --exec {{command}}`