Skip to content
Myr

Update documentation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent 32a34cf · Browse files · 3 files+27 added−17 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+27 added−17 removed

  • other:+27 added−17 removed

3 files+27 added−17 removed

modified:doc/fd.1+22 added-11 removed
25 unmodified lines
26.BR find (1).27.SH OPTIONS28.TP29.B \-H, \-\-hidden30Search hidden files and directories.30Include hidden files and directories in the search results.31.TP32.B \-I, \-\-no\-ignore33Don't respect ignore files (.gitignore, .ignore, etc.)33Do not respect files like34.I .gitignore35and36.I .ignore37and include ignored files in the search results.38.TP39.B \-\-no\-ignore\-vcs36Don't respect version control ignore files (like .gitignore).40Do not respect version control ignore files like41.I ".gitignore"42and include the respective entries in the search results.43.TP44.B \-s, \-\-case\-sensitive45Perform a case-sensitive search (default: smart case).46.TP
6 unmodified lines
53.B \-L, \-\-follow54Dereference all symbolic links encountered.55.TP56.B \-p, \-\-full\-path51Match57Match the58.I pattern53against the full path59against the full path instead of just the file or directory name.60.TP61.B \-0, \-\-print056Print results followed by null character instead of newlines.62Separate search results by null characters instead of newlines.63.TP64.B \-h, \-\-help59Prints help information.65Print help information.66.TP67.B \-V, \-\-version62Prints version information.68Print version information.69.TP64.BI "\-d, \-\-max\-depth " levels70.BI "\-d, \-\-max\-depth " d71Limit directory traversal to at most66.I levels67of depth.72.I d73levels of depth. By default, there is no limit on the search depth.74.TP75.BI "\-t, \-\-type " filetype76Filter search by type:77.RS
3 unmodified lines
81directories82.IP "s, symlink"83symbolic links84.RE8586.RS87This option can be used repeatedly to allow for multiple file types.88.RE89.TP90.BI "\-e, \-\-extension " ext91Filter search results by file extension92.IR ext .93This option can be used repeatedly to allow for multiple possible file extensions.94.TP95.BI "\-E, \-\-exclude " pattern96Exclude files/directories that match the given glob pattern.97This overrides any other ignore logic.
51 unmodified lines
modified:src/app.rs+1 added-1 removed
194 unmodified lines
195 '{//}': parent directory\n \196 '{.}': path without file extension\n \197 '{/.}': basename without file extension");198 doc!(h, "exclude"199 , "Exclude entries that match the given glob pattern."199 , "Exclude entries that match the given glob pattern"200 , "Exclude files/directories that match the given glob pattern. This overrides any \201 other ignore logic. Multiple exclude patterns can be specified.");202 doc!(h, "color"203 , "When to use colors: never, *auto*, always"
24 unmodified lines
modified:README.md+4 added-5 removed
217 unmodified lines
218 -V, --version Prints version information219220OPTIONS:221 -d, --max-depth <depth> Set maximum search depth (default: none)222 -t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)223 -e, --extension <ext> Filter by file extension222 -t, --type <filetype>... Filter by type: f(ile), d(irectory), (sym)l(ink)223 -e, --extension <ext>... Filter by file extension224 -x, --exec <cmd>... Execute a command for each search result225 -E, --exclude <pattern>... Exclude entries that match the given glob pattern.225 -E, --exclude <pattern>... Exclude entries that match the given glob pattern226 -c, --color <when> When to use colors: never, *auto*, always227 -j, --threads <num> Set number of threads to use for searching &228 executing227 -j, --threads <num> Set number of threads to use for searching & executing228229ARGS:230 <pattern> the search pattern, a regular expression (optional)231 <path>... the root directory for the filesystem search (optional)
124 unmodified lines