mirror of https://github.com/CrimsonTome/tldr.git
fd: refresh (#9591)
parent
6272a9078c
commit
15493ebc15
|
@ -4,13 +4,13 @@
|
|||
> Aims to be faster and easier to use than `find`.
|
||||
> 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`:
|
||||
|
||||
`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}}`
|
||||
|
|
Loading…
Reference in New Issue