1
0
mirror of https://github.com/sharkdp/fd synced 2024-07-05 09:19:11 +00:00

README and man page updates.

This commit is contained in:
sharkdp 2017-10-25 22:43:36 +02:00
parent 5ad69fb2fb
commit 7b8d9322ba
2 changed files with 17 additions and 8 deletions

View File

@ -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):
@ -178,12 +178,14 @@ FLAGS:
-V, --version Prints version information -V, --version Prints version information
OPTIONS: 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 -x, --exec <cmd> Execute the given command for each search result
-j, --threads <num> Set number of threads to use for searching & executing -E, --exclude <pattern>... Exclude entries that match the given glob pattern.
-x, --exec <cmd> Execute the given command for each search result -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)

View File

@ -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