fd: refresh (#9591)

pull/1/head
Emily Grace Seville 2022-12-07 15:57:21 +10:00 committed by GitHub
parent 6272a9078c
commit 15493ebc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -4,13 +4,13 @@
> Aims to be faster and easier to use than `find`. > Aims to be faster and easier to use than `find`.
> More information: <https://github.com/sharkdp/fd>. > More information: <https://github.com/sharkdp/fd>.
- 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`: - Find files that begin with `foo`:
`fd '^foo'` `fd "^foo"`
- Find files with a specific extension: - Find files with a specific extension:
@ -18,12 +18,12 @@
- Find files in a specific directory: - 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: - 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: - Execute a command on each search result returned:
`fd '{{pattern}}' --exec {{command}}` `fd "{{string|regex}}" --exec {{command}}`