mirror of
https://github.com/sharkdp/fd
synced 2024-10-01 13:33:55 +00:00
Man page updates
[skip ci]
This commit is contained in:
parent
e38b7d7bff
commit
f4ed2ba74d
29
doc/fd.1
29
doc/fd.1
|
@ -1,11 +1,10 @@
|
||||||
.TH FD 1 fd-4.0.0
|
.TH FD 1
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fd \- find files
|
fd \- find entries in the filesystem
|
||||||
.BR find (1)
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B fd
|
.B fd
|
||||||
.RB [ \-HIsaLp0hV ]
|
.RB [ \-HIsiaLp0hV ]
|
||||||
.RB [ \- d
|
.RB [ \-d
|
||||||
.IR depth ]
|
.IR depth ]
|
||||||
.RB [ \-t
|
.RB [ \-t
|
||||||
.IR filetype ]
|
.IR filetype ]
|
||||||
|
@ -36,6 +35,9 @@ files.
|
||||||
.B \-s, \-\-case\-sensitive
|
.B \-s, \-\-case\-sensitive
|
||||||
Perform a case-sensitive search (default: smart case).
|
Perform a case-sensitive search (default: smart case).
|
||||||
.TP
|
.TP
|
||||||
|
.B \-i, \-\-ignore\-case
|
||||||
|
Perform a case-insensitive search (default: smart case).
|
||||||
|
.TP
|
||||||
.B \-a, \-\-absolute\-path
|
.B \-a, \-\-absolute\-path
|
||||||
Show absolute instead of relative paths.
|
Show absolute instead of relative paths.
|
||||||
.TP
|
.TP
|
||||||
|
@ -45,8 +47,7 @@ Dereference all symbolic links encountered.
|
||||||
.B \-p, \-\-full\-path
|
.B \-p, \-\-full\-path
|
||||||
Match
|
Match
|
||||||
.I pattern
|
.I pattern
|
||||||
against full
|
against the full path
|
||||||
.IR path .
|
|
||||||
.TP
|
.TP
|
||||||
.B \-0, \-\-print0
|
.B \-0, \-\-print0
|
||||||
Print results followed by null character instead of newlines.
|
Print results followed by null character instead of newlines.
|
||||||
|
@ -62,7 +63,7 @@ Limit directory traversal to at most
|
||||||
.I levels
|
.I levels
|
||||||
of depth.
|
of depth.
|
||||||
.TP
|
.TP
|
||||||
.BI "\-t, \-\-type " c
|
.BI "\-t, \-\-type " filetype
|
||||||
Filter search by type:
|
Filter search by type:
|
||||||
.RS
|
.RS
|
||||||
.IP "f, file"
|
.IP "f, file"
|
||||||
|
@ -83,7 +84,7 @@ Declare
|
||||||
to colorize search results:
|
to colorize search results:
|
||||||
.RS
|
.RS
|
||||||
.IP auto
|
.IP auto
|
||||||
Colorize output when standard output is connected to terminal. (default)
|
Colorize output when standard output is connected to terminal (default).
|
||||||
.IP never
|
.IP never
|
||||||
Do not colorize output.
|
Do not colorize output.
|
||||||
.IP always
|
.IP always
|
||||||
|
@ -91,8 +92,7 @@ Always colorize output.
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.BI "\-j, \-\-threads " num
|
.BI "\-j, \-\-threads " num
|
||||||
Number of threads to use for searching. (default: number of processing units
|
Number of threads to use for searching (default: number of available CPUs).
|
||||||
available)
|
|
||||||
.TP
|
.TP
|
||||||
.BI "\-x, \-\-exec " command
|
.BI "\-x, \-\-exec " command
|
||||||
Execute
|
Execute
|
||||||
|
@ -117,10 +117,13 @@ Determines how to colorize search results, see
|
||||||
.BR dircolors (1) .
|
.BR dircolors (1) .
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
.TP
|
.TP
|
||||||
.RI "Find the specific log files in " /var/log .
|
.RI "Find files and directories that match the pattern '" needle "':"
|
||||||
|
$ fd needle
|
||||||
|
.TP
|
||||||
|
.RI "Start a search in a given directory (" /var/log "):"
|
||||||
$ fd nginx /var/log
|
$ fd nginx /var/log
|
||||||
.TP
|
.TP
|
||||||
Find all Python files that ends with \(dq.py\(dq in the current directory.
|
.RI "Find all Python files (all files with the extention " .py ") in the current directory:"
|
||||||
$ fd -e py
|
$ fd -e py
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR find (1)
|
.BR find (1)
|
||||||
|
|
Loading…
Reference in a new issue