mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
README and man page updates.
This commit is contained in:
parent
5ad69fb2fb
commit
7b8d9322ba
|
@ -125,7 +125,7 @@ With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can
|
|||
```
|
||||
cargo install fd-find
|
||||
```
|
||||
Note that rust version *1.16.0* or later is required.
|
||||
Note that rust version *1.19.0* or later is required.
|
||||
The release page of this repository also includes precompiled binaries for Linux.
|
||||
|
||||
On **macOS**, you can use [Homebrew](http://braumeister.org/formula/fd):
|
||||
|
@ -181,9 +181,11 @@ OPTIONS:
|
|||
-d, --max-depth <depth> Set maximum search depth (default: none)
|
||||
-t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)
|
||||
-e, --extension <ext> Filter by file extension
|
||||
-c, --color <when> When to use colors: never, *auto*, always
|
||||
-j, --threads <num> Set number of threads to use for searching & executing
|
||||
-x, --exec <cmd> Execute the given command for each search result
|
||||
-E, --exclude <pattern>... Exclude entries that match the given glob pattern.
|
||||
-c, --color <when> When to use colors: never, *auto*, always
|
||||
-j, --threads <num> Set number of threads to use for searching &
|
||||
executing
|
||||
|
||||
ARGS:
|
||||
<pattern> the search pattern, a regular expression (optional)
|
||||
|
|
9
doc/fd.1
9
doc/fd.1
|
@ -3,13 +3,15 @@
|
|||
fd \- find entries in the filesystem
|
||||
.SH SYNOPSIS
|
||||
.B fd
|
||||
.RB [ \-HIsiaLp0hV ]
|
||||
.RB [ \-HIEsiaLp0hV ]
|
||||
.RB [ \-d
|
||||
.IR depth ]
|
||||
.RB [ \-t
|
||||
.IR filetype ]
|
||||
.RB [ \-e
|
||||
.IR ext ]
|
||||
.RB [ \-E
|
||||
.IR exclude ]
|
||||
.RB [ \-c
|
||||
.IR when ]
|
||||
.RB [ \-j
|
||||
|
@ -78,6 +80,11 @@ symbolic links
|
|||
Filter search results by file extension
|
||||
.IR ext .
|
||||
.TP
|
||||
.BI "\-E, \-\-exclude " pattern
|
||||
Exclude files/directories that match the given glob pattern.
|
||||
This overrides any other ignore logic.
|
||||
Multiple exclude patterns can be specified.
|
||||
.TP
|
||||
.BI "\-c, \-\-color " when
|
||||
Declare
|
||||
.I when
|
||||
|
|
Loading…
Reference in a new issue