mirror of
https://github.com/sharkdp/fd
synced 2024-10-04 14:59:15 +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
|
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.
|
The release page of this repository also includes precompiled binaries for Linux.
|
||||||
|
|
||||||
On **macOS**, you can use [Homebrew](http://braumeister.org/formula/fd):
|
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)
|
-d, --max-depth <depth> Set maximum search depth (default: none)
|
||||||
-t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)
|
-t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)
|
||||||
-e, --extension <ext> Filter by file extension
|
-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
|
-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:
|
ARGS:
|
||||||
<pattern> the search pattern, a regular expression (optional)
|
<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
|
fd \- find entries in the filesystem
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B fd
|
.B fd
|
||||||
.RB [ \-HIsiaLp0hV ]
|
.RB [ \-HIEsiaLp0hV ]
|
||||||
.RB [ \-d
|
.RB [ \-d
|
||||||
.IR depth ]
|
.IR depth ]
|
||||||
.RB [ \-t
|
.RB [ \-t
|
||||||
.IR filetype ]
|
.IR filetype ]
|
||||||
.RB [ \-e
|
.RB [ \-e
|
||||||
.IR ext ]
|
.IR ext ]
|
||||||
|
.RB [ \-E
|
||||||
|
.IR exclude ]
|
||||||
.RB [ \-c
|
.RB [ \-c
|
||||||
.IR when ]
|
.IR when ]
|
||||||
.RB [ \-j
|
.RB [ \-j
|
||||||
|
@ -78,6 +80,11 @@ symbolic links
|
||||||
Filter search results by file extension
|
Filter search results by file extension
|
||||||
.IR ext .
|
.IR ext .
|
||||||
.TP
|
.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
|
.BI "\-c, \-\-color " when
|
||||||
Declare
|
Declare
|
||||||
.I when
|
.I when
|
||||||
|
|
Loading…
Reference in a new issue