-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathffind.1
121 lines (121 loc) · 3.18 KB
/
ffind.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH FRIENDLY-FIND "1" "December 2015" "friendly-find version 1.0.0" "User Commands"
.SH NAME
friendly-find \- manual page for friendly-find version 1.0.0
.SH SYNOPSIS
.B ffind
[\fI\,options\/\fR] \fI\,PATTERN\/\fR
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-\-version\fR
print the version and exit
.TP
\fB\-d\fR DIR, \fB\-\-dir\fR=\fI\,DIR\/\fR
root the search in DIR (default .)
.TP
\fB\-D\fR N, \fB\-\-depth\fR=\fI\,N\/\fR
search at most N directories deep (default 25)
.TP
\fB\-f\fR, \fB\-\-follow\fR
follow symlinked directories and search their contents
.TP
\fB\-F\fR, \fB\-\-no\-follow\fR
don't follow symlinked directories (default)
.TP
\fB\-0\fR, \fB\-\-print0\fR
separate matches with a null byte in output
.TP
\fB\-l\fR, \fB\-\-literal\fR
force literal search, even if it looks like a regex
.TP
\fB\-v\fR, \fB\-\-invert\fR
invert match
.TP
\fB\-e\fR, \fB\-\-entire\fR
match PATTERN against the entire path string
.TP
\fB\-E\fR, \fB\-\-non\-entire\fR
match PATTERN against only the filenames (default)
.TP
\fB\-p\fR, \fB\-\-full\-path\fR
print the file's full path
.TP
\fB\-P\fR, \fB\-\-relative\-path\fR
print the file's relative path (default)
.IP
Configuring Case Sensitivity:
.TP
\fB\-s\fR, \fB\-\-case\-sensitive\fR
case sensitive matching (default)
.TP
\fB\-i\fR, \fB\-\-case\-insensitive\fR
case insensitive matching
.TP
\fB\-S\fR, \fB\-\-case\-smart\fR
smart case matching (sensitive if any uppercase chars
are in the pattern, insensitive otherwise)
.IP
Configuring Ignoring:
.TP
\fB\-b\fR, \fB\-\-binary\fR
allow binary files (default)
.TP
\fB\-B\fR, \fB\-\-no\-binary\fR
ignore binary files
.TP
\fB\-r\fR, \fB\-\-restricted\fR
restricted search (skip VCS directories, parse all
ignore files) (default)
.TP
\fB\-q\fR, \fB\-\-semi\-restricted\fR
semi\-restricted search (don't parse VCS ignore files,
but still skip VCS directories and parse .ffignore)
.TP
\fB\-u\fR, \fB\-\-unrestricted\fR
unrestricted search (don't parse ignore files, but
still skip VCS directories)
.TP
\fB\-a\fR, \fB\-\-all\fR
don't ignore anything (ALL files can match)
.TP
\fB\-I\fR PATTERN, \fB\-\-ignore\fR=\fI\,PATTERN\/\fR
add a pattern to be ignored (can be given multiple
times)
.IP
Size Filtering:
.TP
Sizes can be given as a number followed by a prefix.
Some examples:
.IP
1k, 5kb, 1.5gb, 2g, 1024b
.TP
\fB\-\-larger\-than\fR=\fI\,SIZE\/\fR
match files larger than SIZE (inclusive)
.TP
\fB\-\-smaller\-than\fR=\fI\,SIZE\/\fR
match files smaller than SIZE (inclusive)
.IP
Type Filtering:
.IP
Possible types are a (all), f (files), d (dirs), r (real), s
(symlinked), e (real files), c (real dirs), x (symlinked files), y
(symlinked dirs). If multiple types are given they will be unioned
together: \fB\-\-type\fR 'es' would match real files and all symlinks.
.TP
\fB\-t\fR TYPE(S), \fB\-\-type\fR=\fI\,TYPE\/\fR(S)
match only specific types of things (files, dirs, nonsymlinks, symlinks)
.SH "SEE ALSO"
The full documentation for
.B friendly-find
is maintained as a Texinfo manual. If the
.B info
and
.B friendly-find
programs are properly installed at your site, the command
.IP
.B info friendly-find
.PP
should give you access to the complete manual.