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 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_XDEV
55 bool "Enable -xdev: 'stay in filesystem'"
56 default BUSYBOX_DEFAULT_FEATURE_FIND_XDEV
57 depends on BUSYBOX_CONFIG_FIND
59 config BUSYBOX_CONFIG_FEATURE_FIND_MAXDEPTH
60 bool "Enable -mindepth N and -maxdepth N"
61 default BUSYBOX_DEFAULT_FEATURE_FIND_MAXDEPTH
62 depends on BUSYBOX_CONFIG_FIND
64 config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
65 bool "Enable -newer: compare file modification times"
66 default BUSYBOX_DEFAULT_FEATURE_FIND_NEWER
67 depends on BUSYBOX_CONFIG_FIND
69 Support the 'find -newer' option for finding any files which have
70 modification time that is more recent than the specified FILE.
72 config BUSYBOX_CONFIG_FEATURE_FIND_INUM
73 bool "Enable -inum: inode number matching"
74 default BUSYBOX_DEFAULT_FEATURE_FIND_INUM
75 depends on BUSYBOX_CONFIG_FIND
77 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
78 bool "Enable -exec: execute commands"
79 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC
80 depends on BUSYBOX_CONFIG_FIND
82 Support the 'find -exec' option for executing commands based upon
85 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC_PLUS
86 bool "Enable -exec ... {} +"
87 default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC_PLUS
88 depends on BUSYBOX_CONFIG_FEATURE_FIND_EXEC
90 Support the 'find -exec ... {} +' option for executing commands
91 for all matched files at once.
92 Without this option, -exec + is a synonym for -exec ;
93 (IOW: it works correctly, but without expected speedup)
95 config BUSYBOX_CONFIG_FEATURE_FIND_USER
96 bool "Enable -user: username/uid matching"
97 default BUSYBOX_DEFAULT_FEATURE_FIND_USER
98 depends on BUSYBOX_CONFIG_FIND
100 config BUSYBOX_CONFIG_FEATURE_FIND_GROUP
101 bool "Enable -group: group/gid matching"
102 default BUSYBOX_DEFAULT_FEATURE_FIND_GROUP
103 depends on BUSYBOX_CONFIG_FIND
105 config BUSYBOX_CONFIG_FEATURE_FIND_NOT
106 bool "Enable the 'not' (!) operator"
107 default BUSYBOX_DEFAULT_FEATURE_FIND_NOT
108 depends on BUSYBOX_CONFIG_FIND
110 Support the '!' operator to invert the test results.
111 If 'Enable full-blown desktop' is enabled, then will also support
112 the non-POSIX notation '-not'.
114 config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
116 default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
117 depends on BUSYBOX_CONFIG_FIND
119 Process each directory's contents before the directory itself.
121 config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
122 bool "Enable parens in options"
123 default BUSYBOX_DEFAULT_FEATURE_FIND_PAREN
124 depends on BUSYBOX_CONFIG_FIND
126 Enable usage of parens '(' to specify logical order of arguments.
128 config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
129 bool "Enable -size: file size matching"
130 default BUSYBOX_DEFAULT_FEATURE_FIND_SIZE
131 depends on BUSYBOX_CONFIG_FIND
133 config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
134 bool "Enable -prune: exclude subdirectories"
135 default BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
136 depends on BUSYBOX_CONFIG_FIND
138 If the file is a directory, don't descend into it. Useful for
139 exclusion .svn and CVS directories.
141 config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
142 bool "Enable -delete: delete files/dirs"
143 default BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
144 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
146 Support the 'find -delete' option for deleting files and directories.
147 WARNING: This option can do much harm if used wrong. Busybox will not
148 try to protect the user from doing stupid things. Use with care.
150 config BUSYBOX_CONFIG_FEATURE_FIND_PATH
151 bool "Enable -path: match pathname with shell pattern"
152 default BUSYBOX_DEFAULT_FEATURE_FIND_PATH
153 depends on BUSYBOX_CONFIG_FIND
155 The -path option matches whole pathname instead of just filename.
157 config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
158 bool "Enable -regex: match pathname with regex"
159 default BUSYBOX_DEFAULT_FEATURE_FIND_REGEX
160 depends on BUSYBOX_CONFIG_FIND
162 The -regex option matches whole pathname against regular expression.
164 config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
165 bool "Enable -context: security context matching"
166 default BUSYBOX_DEFAULT_FEATURE_FIND_CONTEXT
167 depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
169 Support the 'find -context' option for matching security context.
171 config BUSYBOX_CONFIG_FEATURE_FIND_LINKS
172 bool "Enable -links: link count matching"
173 default BUSYBOX_DEFAULT_FEATURE_FIND_LINKS
174 depends on BUSYBOX_CONFIG_FIND
176 Support the 'find -links' option for matching number of links.
177 config BUSYBOX_CONFIG_GREP
179 default BUSYBOX_DEFAULT_GREP
181 grep is used to search files for a specified pattern.
183 config BUSYBOX_CONFIG_EGREP
185 default BUSYBOX_DEFAULT_EGREP
189 config BUSYBOX_CONFIG_FGREP
191 default BUSYBOX_DEFAULT_FGREP
195 config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
196 bool "Enable before and after context flags (-A, -B and -C)"
197 default BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT
198 depends on BUSYBOX_CONFIG_GREP || BUSYBOX_CONFIG_EGREP || BUSYBOX_CONFIG_FGREP
200 Print the specified number of leading (-B) and/or trailing (-A)
201 context surrounding our matching lines.
202 Print the specified number of context lines (-C).
203 config BUSYBOX_CONFIG_XARGS
205 default BUSYBOX_DEFAULT_XARGS
207 xargs is used to execute a specified command for
208 every item from standard input.
210 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
211 bool "Enable -p: prompt and confirmation"
212 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION
213 depends on BUSYBOX_CONFIG_XARGS
215 Support -p: prompt the user whether to run each command
216 line and read a line from the terminal.
218 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
219 bool "Enable single and double quotes and backslash"
220 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES
221 depends on BUSYBOX_CONFIG_XARGS
223 Support quoting in the input.
225 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
226 bool "Enable -x: exit if -s or -n is exceeded"
227 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT
228 depends on BUSYBOX_CONFIG_XARGS
230 Support -x: exit if the command size (see the -s or -n option)
233 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
234 bool "Enable -0: NUL-terminated input"
235 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM
236 depends on BUSYBOX_CONFIG_XARGS
238 Support -0: input items are terminated by a NUL character
239 instead of whitespace, and the quotes and backslash
242 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR
243 bool "Enable -I STR: string to replace"
244 default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_REPL_STR
245 depends on BUSYBOX_CONFIG_XARGS
247 Support -I STR and -i[STR] options.