1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-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: modified 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_MMIN
34 bool "Enable -mmin: modified time matching by minutes"
35 default BUSYBOX_DEFAULT_FEATURE_FIND_MMIN
36 depends on BUSYBOX_CONFIG_FIND
38 Allow searching based on the modification time of
41 config BUSYBOX_CONFIG_FEATURE_FIND_PERM
42 bool "Enable -perm: permissions matching"
43 default BUSYBOX_DEFAULT_FEATURE_FIND_PERM
44 depends on BUSYBOX_CONFIG_FIND
46 Enable searching based on file permissions.
48 config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
49 bool "Enable -type: file type matching (file/dir/link/...)"
50 default BUSYBOX_DEFAULT_FEATURE_FIND_TYPE
51 depends on BUSYBOX_CONFIG_FIND
53 Enable searching based on file type (file,
54 directory, socket, device, etc.).
56 config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
57 bool "Enable -xdev: 'stay in filesystem'"
58 default BUSYBOX_DEFAULT_FEATURE_FIND_XDEV
59 depends on BUSYBOX_CONFIG_FIND
61 This option allows find to restrict searches to a single filesystem.
63 config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
64 bool "Enable -mindepth N and -maxdepth N"
65 default BUSYBOX_DEFAULT_FEATURE_FIND_MAXDEPTH
66 depends on BUSYBOX_CONFIG_FIND
68 This option enables -mindepth N and -maxdepth N option.
70 config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
71 bool "Enable -newer: compare file modification times"
72 default BUSYBOX_DEFAULT_FEATURE_FIND_NEWER
73 depends on BUSYBOX_CONFIG_FIND
75 Support the 'find -newer' option for finding any files which have
76 modification time that is more recent than the specified FILE.
78 config BUSYBOX_CONFIG_FEATURE_FIND_INUM
79 bool "Enable -inum: inode number matching"
80 default BUSYBOX_DEFAULT_FEATURE_FIND_INUM
81 depends on BUSYBOX_CONFIG_FIND
83 Support the 'find -inum' option for searching by inode number.
85 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
86 bool "Enable -exec: execute commands"
87 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC
88 depends on BUSYBOX_CONFIG_FIND
90 Support the 'find -exec' option for executing commands based upon
93 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC_PLUS
94 bool "Enable -exec ... {} +"
95 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC_PLUS
96 depends on BUSYBOX_CONFIG_FEATURE_FIND_EXEC
98 Support the 'find -exec ... {} +' option for executing commands
99 for all matched files at once.
100 Without this option, -exec + is a synonym for -exec ;
101 (IOW: it works correctly, but without expected speedup)
103 config BUSYBOX_CONFIG_FEATURE_FIND_USER
104 bool "Enable -user: username/uid matching"
105 default BUSYBOX_DEFAULT_FEATURE_FIND_USER
106 depends on BUSYBOX_CONFIG_FIND
108 Support the 'find -user' option for searching by username or uid.
110 config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
111 bool "Enable -group: group/gid matching"
112 default BUSYBOX_DEFAULT_FEATURE_FIND_GROUP
113 depends on BUSYBOX_CONFIG_FIND
115 Support the 'find -group' option for searching by group name or gid.
117 config BUSYBOX_CONFIG_FEATURE_FIND_NOT
118 bool "Enable the 'not' (!) operator"
119 default BUSYBOX_DEFAULT_FEATURE_FIND_NOT
120 depends on BUSYBOX_CONFIG_FIND
122 Support the '!' operator to invert the test results.
123 If 'Enable full-blown desktop' is enabled, then will also support
124 the non-POSIX notation '-not'.
126 config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
128 default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
129 depends on BUSYBOX_CONFIG_FIND
131 Process each directory's contents before the directory itself.
133 config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
134 bool "Enable parens in options"
135 default BUSYBOX_DEFAULT_FEATURE_FIND_PAREN
136 depends on BUSYBOX_CONFIG_FIND
138 Enable usage of parens '(' to specify logical order of arguments.
140 config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
141 bool "Enable -size: file size matching"
142 default BUSYBOX_DEFAULT_FEATURE_FIND_SIZE
143 depends on BUSYBOX_CONFIG_FIND
145 Support the 'find -size' option for searching by file size.
147 config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
148 bool "Enable -prune: exclude subdirectories"
149 default BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
150 depends on BUSYBOX_CONFIG_FIND
152 If the file is a directory, dont descend into it. Useful for
153 exclusion .svn and CVS directories.
155 config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
156 bool "Enable -delete: delete files/dirs"
157 default BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
158 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
160 Support the 'find -delete' option for deleting files and directories.
161 WARNING: This option can do much harm if used wrong. Busybox will not
162 try to protect the user from doing stupid things. Use with care.
164 config BUSYBOX_CONFIG_FEATURE_FIND_PATH
165 bool "Enable -path: match pathname with shell pattern"
166 default BUSYBOX_DEFAULT_FEATURE_FIND_PATH
167 depends on BUSYBOX_CONFIG_FIND
169 The -path option matches whole pathname instead of just filename.
171 config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
172 bool "Enable -regex: match pathname with regex"
173 default BUSYBOX_DEFAULT_FEATURE_FIND_REGEX
174 depends on BUSYBOX_CONFIG_FIND
176 The -regex option matches whole pathname against regular expression.
178 config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
179 bool "Enable -context: security context matching"
180 default BUSYBOX_DEFAULT_FEATURE_FIND_CONTEXT
181 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
183 Support the 'find -context' option for matching security context.
185 config BUSYBOX_CONFIG_FEATURE_FIND_LINKS
186 bool "Enable -links: link count matching"
187 default BUSYBOX_DEFAULT_FEATURE_FIND_LINKS
188 depends on BUSYBOX_CONFIG_FIND
190 Support the 'find -links' option for matching number of links.
191 config BUSYBOX_CONFIG_GREP
193 default BUSYBOX_DEFAULT_GREP
195 grep is used to search files for a specified pattern.
197 config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS
198 bool "Enable extended regular expressions (egrep & grep -E)"
199 default BUSYBOX_DEFAULT_FEATURE_GREP_EGREP_ALIAS
200 depends on BUSYBOX_CONFIG_GREP
202 Enabled support for extended regular expressions. Extended
203 regular expressions allow for alternation (foo|bar), grouping,
204 and various repetition operators.
206 config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
207 bool "Alias fgrep to grep -F"
208 default BUSYBOX_DEFAULT_FEATURE_GREP_FGREP_ALIAS
209 depends on BUSYBOX_CONFIG_GREP
211 fgrep sees the search pattern as a normal string rather than
213 grep -F always works, this just creates the fgrep alias.
215 config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
216 bool "Enable before and after context flags (-A, -B and -C)"
217 default BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT
218 depends on BUSYBOX_CONFIG_GREP
220 Print the specified number of leading (-B) and/or trailing (-A)
221 context surrounding our matching lines.
222 Print the specified number of context lines (-C).
223 config BUSYBOX_CONFIG_XARGS
225 default BUSYBOX_DEFAULT_XARGS
227 xargs is used to execute a specified command for
228 every item from standard input.
230 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
231 bool "Enable -p: prompt and confirmation"
232 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION
233 depends on BUSYBOX_CONFIG_XARGS
235 Support -p: prompt the user whether to run each command
236 line and read a line from the terminal.
238 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
239 bool "Enable single and double quotes and backslash"
240 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES
241 depends on BUSYBOX_CONFIG_XARGS
243 Support quoting in the input.
245 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
246 bool "Enable -x: exit if -s or -n is exceeded"
247 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT
248 depends on BUSYBOX_CONFIG_XARGS
250 Support -x: exit if the command size (see the -s or -n option)
253 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
254 bool "Enable -0: NUL-terminated input"
255 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM
256 depends on BUSYBOX_CONFIG_XARGS
258 Support -0: input items are terminated by a NUL character
259 instead of whitespace, and the quotes and backslash
262 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR
263 bool "Enable -I STR: string to replace"
264 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_REPL_STR
265 depends on BUSYBOX_CONFIG_XARGS
267 Support -I STR and -i[STR] options.