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: 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 config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
47 bool "Enable -type: file type matching (file/dir/link/...)"
48 default BUSYBOX_DEFAULT_FEATURE_FIND_TYPE
49 depends on BUSYBOX_CONFIG_FIND
51 Enable searching based on file type (file,
52 directory, socket, device, etc.).
54 config BUSYBOX_CONFIG_FEATURE_FIND_EXECUTABLE
55 bool "Enable -executable: file is executable"
56 default BUSYBOX_DEFAULT_FEATURE_FIND_EXECUTABLE
57 depends on BUSYBOX_CONFIG_FIND
59 config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
60 bool "Enable -xdev: 'stay in filesystem'"
61 default BUSYBOX_DEFAULT_FEATURE_FIND_XDEV
62 depends on BUSYBOX_CONFIG_FIND
64 config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
65 bool "Enable -mindepth N and -maxdepth N"
66 default BUSYBOX_DEFAULT_FEATURE_FIND_MAXDEPTH
67 depends on BUSYBOX_CONFIG_FIND
69 config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
70 bool "Enable -newer: compare file modification times"
71 default BUSYBOX_DEFAULT_FEATURE_FIND_NEWER
72 depends on BUSYBOX_CONFIG_FIND
74 Support the 'find -newer' option for finding any files which have
75 modification time that is more recent than the specified FILE.
77 config BUSYBOX_CONFIG_FEATURE_FIND_INUM
78 bool "Enable -inum: inode number matching"
79 default BUSYBOX_DEFAULT_FEATURE_FIND_INUM
80 depends on BUSYBOX_CONFIG_FIND
82 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
83 bool "Enable -exec: execute commands"
84 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC
85 depends on BUSYBOX_CONFIG_FIND
87 Support the 'find -exec' option for executing commands based upon
90 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC_PLUS
91 bool "Enable -exec ... {} +"
92 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC_PLUS
93 depends on BUSYBOX_CONFIG_FEATURE_FIND_EXEC
95 Support the 'find -exec ... {} +' option for executing commands
96 for all matched files at once.
97 Without this option, -exec + is a synonym for -exec ;
98 (IOW: it works correctly, but without expected speedup)
100 config BUSYBOX_CONFIG_FEATURE_FIND_USER
101 bool "Enable -user: username/uid matching"
102 default BUSYBOX_DEFAULT_FEATURE_FIND_USER
103 depends on BUSYBOX_CONFIG_FIND
105 config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
106 bool "Enable -group: group/gid matching"
107 default BUSYBOX_DEFAULT_FEATURE_FIND_GROUP
108 depends on BUSYBOX_CONFIG_FIND
110 config BUSYBOX_CONFIG_FEATURE_FIND_NOT
111 bool "Enable the 'not' (!) operator"
112 default BUSYBOX_DEFAULT_FEATURE_FIND_NOT
113 depends on BUSYBOX_CONFIG_FIND
115 Support the '!' operator to invert the test results.
116 If 'Enable full-blown desktop' is enabled, then will also support
117 the non-POSIX notation '-not'.
119 config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
121 default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
122 depends on BUSYBOX_CONFIG_FIND
124 Process each directory's contents before the directory itself.
126 config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
127 bool "Enable parens in options"
128 default BUSYBOX_DEFAULT_FEATURE_FIND_PAREN
129 depends on BUSYBOX_CONFIG_FIND
131 Enable usage of parens '(' to specify logical order of arguments.
133 config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
134 bool "Enable -size: file size matching"
135 default BUSYBOX_DEFAULT_FEATURE_FIND_SIZE
136 depends on BUSYBOX_CONFIG_FIND
138 config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
139 bool "Enable -prune: exclude subdirectories"
140 default BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
141 depends on BUSYBOX_CONFIG_FIND
143 If the file is a directory, don't descend into it. Useful for
144 exclusion .svn and CVS directories.
146 config BUSYBOX_CONFIG_FEATURE_FIND_QUIT
147 bool "Enable -quit: exit"
148 default BUSYBOX_DEFAULT_FEATURE_FIND_QUIT
149 depends on BUSYBOX_CONFIG_FIND
151 If this action is reached, 'find' exits.
153 config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
154 bool "Enable -delete: delete files/dirs"
155 default BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
156 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
158 Support the 'find -delete' option for deleting files and directories.
159 WARNING: This option can do much harm if used wrong. Busybox will not
160 try to protect the user from doing stupid things. Use with care.
162 config BUSYBOX_CONFIG_FEATURE_FIND_PATH
163 bool "Enable -path: match pathname with shell pattern"
164 default BUSYBOX_DEFAULT_FEATURE_FIND_PATH
165 depends on BUSYBOX_CONFIG_FIND
167 The -path option matches whole pathname instead of just filename.
169 config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
170 bool "Enable -regex: match pathname with regex"
171 default BUSYBOX_DEFAULT_FEATURE_FIND_REGEX
172 depends on BUSYBOX_CONFIG_FIND
174 The -regex option matches whole pathname against regular expression.
176 config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
177 bool "Enable -context: security context matching"
178 default BUSYBOX_DEFAULT_FEATURE_FIND_CONTEXT
179 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
181 Support the 'find -context' option for matching security context.
183 config BUSYBOX_CONFIG_FEATURE_FIND_LINKS
184 bool "Enable -links: link count matching"
185 default BUSYBOX_DEFAULT_FEATURE_FIND_LINKS
186 depends on BUSYBOX_CONFIG_FIND
188 Support the 'find -links' option for matching number of links.
189 config BUSYBOX_CONFIG_GREP
191 default BUSYBOX_DEFAULT_GREP
193 grep is used to search files for a specified pattern.
195 config BUSYBOX_CONFIG_EGREP
196 bool "egrep (7.8 kb)"
197 default BUSYBOX_DEFAULT_EGREP
201 config BUSYBOX_CONFIG_FGREP
202 bool "fgrep (7.8 kb)"
203 default BUSYBOX_DEFAULT_FGREP
207 config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
208 bool "Enable before and after context flags (-A, -B and -C)"
209 default BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT
210 depends on BUSYBOX_CONFIG_GREP || BUSYBOX_CONFIG_EGREP || BUSYBOX_CONFIG_FGREP
212 Print the specified number of leading (-B) and/or trailing (-A)
213 context surrounding our matching lines.
214 Print the specified number of context lines (-C).
215 config BUSYBOX_CONFIG_XARGS
216 bool "xargs (7.2 kb)"
217 default BUSYBOX_DEFAULT_XARGS
219 xargs is used to execute a specified command for
220 every item from standard input.
222 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
223 bool "Enable -p: prompt and confirmation"
224 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION
225 depends on BUSYBOX_CONFIG_XARGS
227 Support -p: prompt the user whether to run each command
228 line and read a line from the terminal.
230 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
231 bool "Enable single and double quotes and backslash"
232 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES
233 depends on BUSYBOX_CONFIG_XARGS
235 Support quoting in the input.
237 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
238 bool "Enable -x: exit if -s or -n is exceeded"
239 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT
240 depends on BUSYBOX_CONFIG_XARGS
242 Support -x: exit if the command size (see the -s or -n option)
245 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
246 bool "Enable -0: NUL-terminated input"
247 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM
248 depends on BUSYBOX_CONFIG_XARGS
250 Support -0: input items are terminated by a NUL character
251 instead of whitespace, and the quotes and backslash
254 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR
255 bool "Enable -I STR: string to replace"
256 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_REPL_STR
257 depends on BUSYBOX_CONFIG_XARGS
259 Support -I STR and -i[STR] options.
261 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL
262 bool "Enable -P N: processes to run in parallel"
263 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_PARALLEL
264 depends on BUSYBOX_CONFIG_XARGS
266 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE
267 bool "Enable -a FILE: use FILE instead of stdin"
268 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ARGS_FILE
269 depends on BUSYBOX_CONFIG_XARGS