summaryrefslogtreecommitdiff
path: root/package/busybox/config/findutils/Config.in
blob: 8a81483e293c9cd9d261a1193cbbf531931149af (plain)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
# see docs/Kconfig-language.txt.
#

menu "Finding Utilities"

config BUSYBOX_FIND
	bool "find (14 kb)"
	default y
	help
	find is used to search your system to find specified files.

config BUSYBOX_FEATURE_FIND_PRINT0
	bool "Enable -print0: NUL-terminated output"
	default y
	depends on BUSYBOX_FIND
	help
	Causes output names to be separated by a NUL character
	rather than a newline. This allows names that contain
	newlines and other whitespace to be more easily
	interpreted by other programs.

config BUSYBOX_FEATURE_FIND_MTIME
	bool "Enable -mtime: modified time matching"
	default y
	depends on BUSYBOX_FIND
	help
	Allow searching based on the modification time of
	files, in days.

config BUSYBOX_FEATURE_FIND_MMIN
	bool "Enable -mmin: modified time matching by minutes"
	default y
	depends on BUSYBOX_FIND
	help
	Allow searching based on the modification time of
	files, in minutes.

config BUSYBOX_FEATURE_FIND_PERM
	bool "Enable -perm: permissions matching"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_TYPE
	bool "Enable -type: file type matching (file/dir/link/...)"
	default y
	depends on BUSYBOX_FIND
	help
	Enable searching based on file type (file,
	directory, socket, device, etc.).

config BUSYBOX_FEATURE_FIND_EXECUTABLE
	bool "Enable -executable: file is executable"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_XDEV
	bool "Enable -xdev: 'stay in filesystem'"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_MAXDEPTH
	bool "Enable -mindepth N and -maxdepth N"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_NEWER
	bool "Enable -newer: compare file modification times"
	default y
	depends on BUSYBOX_FIND
	help
	Support the 'find -newer' option for finding any files which have
	modification time that is more recent than the specified FILE.

config BUSYBOX_FEATURE_FIND_INUM
	bool "Enable -inum: inode number matching"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_EXEC
	bool "Enable -exec: execute commands"
	default y
	depends on BUSYBOX_FIND
	help
	Support the 'find -exec' option for executing commands based upon
	the files matched.

config BUSYBOX_FEATURE_FIND_EXEC_PLUS
	bool "Enable -exec ... {} +"
	default y
	depends on BUSYBOX_FEATURE_FIND_EXEC
	help
	Support the 'find -exec ... {} +' option for executing commands
	for all matched files at once.
	Without this option, -exec + is a synonym for -exec ;
	(IOW: it works correctly, but without expected speedup)

config BUSYBOX_FEATURE_FIND_USER
	bool "Enable -user: username/uid matching"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_GROUP
	bool "Enable -group: group/gid matching"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_NOT
	bool "Enable the 'not' (!) operator"
	default y
	depends on BUSYBOX_FIND
	help
	Support the '!' operator to invert the test results.
	If 'Enable full-blown desktop' is enabled, then will also support
	the non-POSIX notation '-not'.

config BUSYBOX_FEATURE_FIND_DEPTH
	bool "Enable -depth"
	default y
	depends on BUSYBOX_FIND
	help
	Process each directory's contents before the directory itself.

config BUSYBOX_FEATURE_FIND_PAREN
	bool "Enable parens in options"
	default y
	depends on BUSYBOX_FIND
	help
	Enable usage of parens '(' to specify logical order of arguments.

config BUSYBOX_FEATURE_FIND_SIZE
	bool "Enable -size: file size matching"
	default y
	depends on BUSYBOX_FIND

config BUSYBOX_FEATURE_FIND_PRUNE
	bool "Enable -prune: exclude subdirectories"
	default y
	depends on BUSYBOX_FIND
	help
	If the file is a directory, don't descend into it. Useful for
	exclusion .svn and CVS directories.

config BUSYBOX_FEATURE_FIND_QUIT
	bool "Enable -quit: exit"
	default y
	depends on BUSYBOX_FIND
	help
	If this action is reached, 'find' exits.

config BUSYBOX_FEATURE_FIND_DELETE
	bool "Enable -delete: delete files/dirs"
	default y
	depends on BUSYBOX_FIND && BUSYBOX_FEATURE_FIND_DEPTH
	help
	Support the 'find -delete' option for deleting files and directories.
	WARNING: This option can do much harm if used wrong. Busybox will not
	try to protect the user from doing stupid things. Use with care.

config BUSYBOX_FEATURE_FIND_EMPTY
	bool "Enable -empty: match empty files or directories"
	default y
	depends on BUSYBOX_FIND
	help
	Support the 'find -empty' option to find empty regular files
	or directories.

config BUSYBOX_FEATURE_FIND_PATH
	bool "Enable -path: match pathname with shell pattern"
	default y
	depends on BUSYBOX_FIND
	help
	The -path option matches whole pathname instead of just filename.

config BUSYBOX_FEATURE_FIND_REGEX
	bool "Enable -regex: match pathname with regex"
	default y
	depends on BUSYBOX_FIND
	help
	The -regex option matches whole pathname against regular expression.

config BUSYBOX_FEATURE_FIND_CONTEXT
	bool "Enable -context: security context matching"
	default n
	depends on BUSYBOX_FIND && BUSYBOX_SELINUX
	help
	Support the 'find -context' option for matching security context.

config BUSYBOX_FEATURE_FIND_LINKS
	bool "Enable -links: link count matching"
	default y
	depends on BUSYBOX_FIND
	help
	Support the 'find -links' option for matching number of links.
config BUSYBOX_GREP
	bool "grep (8.6 kb)"
	default y
	help
	grep is used to search files for a specified pattern.

config BUSYBOX_EGREP
	bool "egrep (7.8 kb)"
	default y
	help
	Alias to "grep -E".

config BUSYBOX_FGREP
	bool "fgrep (7.8 kb)"
	default y
	help
	Alias to "grep -F".

config BUSYBOX_FEATURE_GREP_CONTEXT
	bool "Enable before and after context flags (-A, -B and -C)"
	default y
	depends on BUSYBOX_GREP || BUSYBOX_EGREP || BUSYBOX_FGREP
	help
	Print the specified number of leading (-B) and/or trailing (-A)
	context surrounding our matching lines.
	Print the specified number of context lines (-C).
config BUSYBOX_XARGS
	bool "xargs (7.2 kb)"
	default y
	help
	xargs is used to execute a specified command for
	every item from standard input.

config BUSYBOX_FEATURE_XARGS_SUPPORT_CONFIRMATION
	bool "Enable -p: prompt and confirmation"
	default y
	depends on BUSYBOX_XARGS
	help
	Support -p: prompt the user whether to run each command
	line and read a line from the terminal.

config BUSYBOX_FEATURE_XARGS_SUPPORT_QUOTES
	bool "Enable single and double quotes and backslash"
	default y
	depends on BUSYBOX_XARGS
	help
	Support quoting in the input.

config BUSYBOX_FEATURE_XARGS_SUPPORT_TERMOPT
	bool "Enable -x: exit if -s or -n is exceeded"
	default y
	depends on BUSYBOX_XARGS
	help
	Support -x: exit if the command size (see the -s or -n option)
	is exceeded.

config BUSYBOX_FEATURE_XARGS_SUPPORT_ZERO_TERM
	bool "Enable -0: NUL-terminated input"
	default y
	depends on BUSYBOX_XARGS
	help
	Support -0: input items are terminated by a NUL character
	instead of whitespace, and the quotes and backslash
	are not special.

config BUSYBOX_FEATURE_XARGS_SUPPORT_REPL_STR
	bool "Enable -I STR: string to replace"
	default y
	depends on BUSYBOX_XARGS
	help
	Support -I STR and -i[STR] options.

config BUSYBOX_FEATURE_XARGS_SUPPORT_PARALLEL
	bool "Enable -P N: processes to run in parallel"
	default y
	depends on BUSYBOX_XARGS

config BUSYBOX_FEATURE_XARGS_SUPPORT_ARGS_FILE
	bool "Enable -a FILE: use FILE instead of stdin"
	default y
	depends on BUSYBOX_XARGS

endmenu