diff --git a/README.md b/README.md index 290c7bc..9530484 100644 --- a/README.md +++ b/README.md @@ -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): @@ -178,12 +178,14 @@ FLAGS: -V, --version Prints version information OPTIONS: - -d, --max-depth Set maximum search depth (default: none) - -t, --type Filter by type: f(ile), d(irectory), (sym)l(ink) - -e, --extension Filter by file extension - -c, --color When to use colors: never, *auto*, always - -j, --threads Set number of threads to use for searching & executing - -x, --exec Execute the given command for each search result + -d, --max-depth Set maximum search depth (default: none) + -t, --type Filter by type: f(ile), d(irectory), (sym)l(ink) + -e, --extension Filter by file extension + -x, --exec Execute the given command for each search result + -E, --exclude ... Exclude entries that match the given glob pattern. + -c, --color When to use colors: never, *auto*, always + -j, --threads Set number of threads to use for searching & + executing ARGS: the search pattern, a regular expression (optional) diff --git a/doc/fd.1 b/doc/fd.1 index 0692a3c..aa52063 100644 --- a/doc/fd.1 +++ b/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