mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
fd: refresh page (#19464)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
+6
-2
@@ -1,7 +1,7 @@
|
||||
# fd
|
||||
|
||||
> An alternative to `find`.
|
||||
> Aims to be faster and easier to use than `find`.
|
||||
> Find entries in the filesystem.
|
||||
> See also: `find`.
|
||||
> More information: <https://github.com/sharkdp/fd#how-to-use>.
|
||||
|
||||
- Recursively find files matching a specific pattern in the current directory:
|
||||
@@ -24,6 +24,10 @@
|
||||
|
||||
`fd {{[-H|--hidden]}} {{[-I|--no-ignore]}} "{{string|regex}}"`
|
||||
|
||||
- Exclude files that match a specific `regex`:
|
||||
|
||||
`fd {{string}} {{[-E|--exclude]}} {{regex}}`
|
||||
|
||||
- Execute a command on each search result returned:
|
||||
|
||||
`fd "{{string|regex}}" {{[-x|--exec]}} {{command}}`
|
||||
|
||||
Reference in New Issue
Block a user