1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt.
7 menu "Finding Utilities"
9 config BUSYBOX_CONFIG_FIND
11 default BUSYBOX_DEFAULT_FIND
13 find is used to search your system to find specified files.
15 config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0
16 bool "Enable -print0: NUL-terminated output"
17 default BUSYBOX_DEFAULT_FEATURE_FIND_PRINT0
18 depends on BUSYBOX_CONFIG_FIND
20 Causes output names to be separated by a NUL character
21 rather than a newline. This allows names that contain
22 newlines and other whitespace to be more easily
23 interpreted by other programs.
25 config BUSYBOX_CONFIG_FEATURE_FIND_MTIME
26 bool "Enable -mtime: modification time matching"
27 default BUSYBOX_DEFAULT_FEATURE_FIND_MTIME
28 depends on BUSYBOX_CONFIG_FIND
30 Allow searching based on the modification time of
33 config BUSYBOX_CONFIG_FEATURE_FIND_ATIME
34 bool "Enable -atime: access time matching"
35 default BUSYBOX_DEFAULT_FEATURE_FIND_ATIME
36 depends on BUSYBOX_CONFIG_FEATURE_FIND_MTIME
38 Allow searching based on the access time of
41 config BUSYBOX_CONFIG_FEATURE_FIND_CTIME
42 bool "Enable -ctime: status change timestamp matching"
43 default BUSYBOX_DEFAULT_FEATURE_FIND_CTIME
44 depends on BUSYBOX_CONFIG_FEATURE_FIND_MTIME
46 Allow searching based on the status change timestamp of
49 config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
50 bool "Enable -mmin: modification time matching by minutes"
51 default BUSYBOX_DEFAULT_FEATURE_FIND_MMIN
52 depends on BUSYBOX_CONFIG_FIND
54 Allow searching based on the modification time of
57 config BUSYBOX_CONFIG_FEATURE_FIND_AMIN
58 bool "Enable -amin: access time matching by minutes"
59 default BUSYBOX_DEFAULT_FEATURE_FIND_AMIN
60 depends on BUSYBOX_CONFIG_FEATURE_FIND_MMIN
62 Allow searching based on the access time of
65 config BUSYBOX_CONFIG_FEATURE_FIND_CMIN
66 bool "Enable -cmin: status change timestamp matching by minutes"
67 default BUSYBOX_DEFAULT_FEATURE_FIND_CMIN
68 depends on BUSYBOX_CONFIG_FEATURE_FIND_MMIN
70 Allow searching based on the status change timestamp of
73 config BUSYBOX_CONFIG_FEATURE_FIND_PERM
74 bool "Enable -perm: permissions matching"
75 default BUSYBOX_DEFAULT_FEATURE_FIND_PERM
76 depends on BUSYBOX_CONFIG_FIND
78 config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
79 bool "Enable -type: file type matching (file/dir/link/...)"
80 default BUSYBOX_DEFAULT_FEATURE_FIND_TYPE
81 depends on BUSYBOX_CONFIG_FIND
83 Enable searching based on file type (file,
84 directory, socket, device, etc.).
86 config BUSYBOX_CONFIG_FEATURE_FIND_EXECUTABLE
87 bool "Enable -executable: file is executable"
88 default BUSYBOX_DEFAULT_FEATURE_FIND_EXECUTABLE
89 depends on BUSYBOX_CONFIG_FIND
91 config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
92 bool "Enable -xdev: 'stay in filesystem'"
93 default BUSYBOX_DEFAULT_FEATURE_FIND_XDEV
94 depends on BUSYBOX_CONFIG_FIND
96 config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
97 bool "Enable -mindepth N and -maxdepth N"
98 default BUSYBOX_DEFAULT_FEATURE_FIND_MAXDEPTH
99 depends on BUSYBOX_CONFIG_FIND
101 config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
102 bool "Enable -newer: compare file modification times"
103 default BUSYBOX_DEFAULT_FEATURE_FIND_NEWER
104 depends on BUSYBOX_CONFIG_FIND
106 Support the 'find -newer' option for finding any files which have
107 modification time that is more recent than the specified FILE.
109 config BUSYBOX_CONFIG_FEATURE_FIND_INUM
110 bool "Enable -inum: inode number matching"
111 default BUSYBOX_DEFAULT_FEATURE_FIND_INUM
112 depends on BUSYBOX_CONFIG_FIND
114 config BUSYBOX_CONFIG_FEATURE_FIND_SAMEFILE
115 bool "Enable -samefile: reference file matching"
116 default BUSYBOX_DEFAULT_FEATURE_FIND_SAMEFILE
117 depends on BUSYBOX_CONFIG_FIND
119 Support the 'find -samefile' option for searching by a reference file.
121 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
122 bool "Enable -exec: execute commands"
123 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC
124 depends on BUSYBOX_CONFIG_FIND
126 Support the 'find -exec' option for executing commands based upon
129 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC_PLUS
130 bool "Enable -exec ... {} +"
131 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC_PLUS
132 depends on BUSYBOX_CONFIG_FEATURE_FIND_EXEC
134 Support the 'find -exec ... {} +' option for executing commands
135 for all matched files at once.
136 Without this option, -exec + is a synonym for -exec ;
137 (IOW: it works correctly, but without expected speedup)
139 config BUSYBOX_CONFIG_FEATURE_FIND_USER
140 bool "Enable -user: username/uid matching"
141 default BUSYBOX_DEFAULT_FEATURE_FIND_USER
142 depends on BUSYBOX_CONFIG_FIND
144 config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
145 bool "Enable -group: group/gid matching"
146 default BUSYBOX_DEFAULT_FEATURE_FIND_GROUP
147 depends on BUSYBOX_CONFIG_FIND
149 config BUSYBOX_CONFIG_FEATURE_FIND_NOT
150 bool "Enable the 'not' (!) operator"
151 default BUSYBOX_DEFAULT_FEATURE_FIND_NOT
152 depends on BUSYBOX_CONFIG_FIND
154 Support the '!' operator to invert the test results.
155 If 'Enable full-blown desktop' is enabled, then will also support
156 the non-POSIX notation '-not'.
158 config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
160 default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
161 depends on BUSYBOX_CONFIG_FIND
163 Process each directory's contents before the directory itself.
165 config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
166 bool "Enable parens in options"
167 default BUSYBOX_DEFAULT_FEATURE_FIND_PAREN
168 depends on BUSYBOX_CONFIG_FIND
170 Enable usage of parens '(' to specify logical order of arguments.
172 config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
173 bool "Enable -size: file size matching"
174 default BUSYBOX_DEFAULT_FEATURE_FIND_SIZE
175 depends on BUSYBOX_CONFIG_FIND
177 config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
178 bool "Enable -prune: exclude subdirectories"
179 default BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
180 depends on BUSYBOX_CONFIG_FIND
182 If the file is a directory, don't descend into it. Useful for
183 exclusion .svn and CVS directories.
185 config BUSYBOX_CONFIG_FEATURE_FIND_QUIT
186 bool "Enable -quit: exit"
187 default BUSYBOX_DEFAULT_FEATURE_FIND_QUIT
188 depends on BUSYBOX_CONFIG_FIND
190 If this action is reached, 'find' exits.
192 config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
193 bool "Enable -delete: delete files/dirs"
194 default BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
195 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
197 Support the 'find -delete' option for deleting files and directories.
198 WARNING: This option can do much harm if used wrong. Busybox will not
199 try to protect the user from doing stupid things. Use with care.
201 config BUSYBOX_CONFIG_FEATURE_FIND_EMPTY
202 bool "Enable -empty: match empty files or directories"
203 default BUSYBOX_DEFAULT_FEATURE_FIND_EMPTY
204 depends on BUSYBOX_CONFIG_FIND
206 Support the 'find -empty' option to find empty regular files
209 config BUSYBOX_CONFIG_FEATURE_FIND_PATH
210 bool "Enable -path: match pathname with shell pattern"
211 default BUSYBOX_DEFAULT_FEATURE_FIND_PATH
212 depends on BUSYBOX_CONFIG_FIND
214 The -path option matches whole pathname instead of just filename.
216 config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
217 bool "Enable -regex: match pathname with regex"
218 default BUSYBOX_DEFAULT_FEATURE_FIND_REGEX
219 depends on BUSYBOX_CONFIG_FIND
221 The -regex option matches whole pathname against regular expression.
223 config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
224 bool "Enable -context: security context matching"
225 default BUSYBOX_DEFAULT_FEATURE_FIND_CONTEXT
226 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
228 Support the 'find -context' option for matching security context.
230 config BUSYBOX_CONFIG_FEATURE_FIND_LINKS
231 bool "Enable -links: link count matching"
232 default BUSYBOX_DEFAULT_FEATURE_FIND_LINKS
233 depends on BUSYBOX_CONFIG_FIND
235 Support the 'find -links' option for matching number of links.
236 config BUSYBOX_CONFIG_GREP
238 default BUSYBOX_DEFAULT_GREP
240 grep is used to search files for a specified pattern.
242 config BUSYBOX_CONFIG_EGREP
243 bool "egrep (7.8 kb)"
244 default BUSYBOX_DEFAULT_EGREP
248 config BUSYBOX_CONFIG_FGREP
249 bool "fgrep (7.8 kb)"
250 default BUSYBOX_DEFAULT_FGREP
254 config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
255 bool "Enable before and after context flags (-A, -B and -C)"
256 default BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT
257 depends on BUSYBOX_CONFIG_GREP || BUSYBOX_CONFIG_EGREP || BUSYBOX_CONFIG_FGREP
259 Print the specified number of leading (-B) and/or trailing (-A)
260 context surrounding our matching lines.
261 Print the specified number of context lines (-C).
262 config BUSYBOX_CONFIG_XARGS
263 bool "xargs (7.2 kb)"
264 default BUSYBOX_DEFAULT_XARGS
266 xargs is used to execute a specified command for
267 every item from standard input.
269 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
270 bool "Enable -p: prompt and confirmation"
271 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION
272 depends on BUSYBOX_CONFIG_XARGS
274 Support -p: prompt the user whether to run each command
275 line and read a line from the terminal.
277 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
278 bool "Enable single and double quotes and backslash"
279 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES
280 depends on BUSYBOX_CONFIG_XARGS
282 Support quoting in the input.
284 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
285 bool "Enable -x: exit if -s or -n is exceeded"
286 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT
287 depends on BUSYBOX_CONFIG_XARGS
289 Support -x: exit if the command size (see the -s or -n option)
292 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
293 bool "Enable -0: NUL-terminated input"
294 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM
295 depends on BUSYBOX_CONFIG_XARGS
297 Support -0: input items are terminated by a NUL character
298 instead of whitespace, and the quotes and backslash
301 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR
302 bool "Enable -I STR: string to replace"
303 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_REPL_STR
304 depends on BUSYBOX_CONFIG_XARGS
306 Support -I STR and -i[STR] options.
308 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL
309 bool "Enable -P N: processes to run in parallel"
310 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_PARALLEL
311 depends on BUSYBOX_CONFIG_XARGS
313 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE
314 bool "Enable -a FILE: use FILE instead of stdin"
315 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ARGS_FILE
316 depends on BUSYBOX_CONFIG_XARGS