3393adbe3bba9a2f6d7c831e8a5c98960c51a158
[openwrt/openwrt.git] / package / utils / busybox / config / findutils / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Finding Utilities"
8
9 config BUSYBOX_CONFIG_FIND
10 bool "find"
11 default BUSYBOX_DEFAULT_FIND
12 help
13 find is used to search your system to find specified files.
14
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
19 help
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.
24
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
29 help
30 Allow searching based on the modification time of
31 files, in days.
32
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
37 help
38 Allow searching based on the modification time of
39 files, in minutes.
40
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
45
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
50 help
51 Enable searching based on file type (file,
52 directory, socket, device, etc.).
53
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
58
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
63
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
68 help
69 Support the 'find -newer' option for finding any files which have
70 modification time that is more recent than the specified FILE.
71
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
76
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
81 help
82 Support the 'find -exec' option for executing commands based upon
83 the files matched.
84
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
89 help
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)
94
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
99
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
104
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
109 help
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'.
113
114 config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
115 bool "Enable -depth"
116 default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
117 depends on BUSYBOX_CONFIG_FIND
118 help
119 Process each directory's contents before the directory itself.
120
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
125 help
126 Enable usage of parens '(' to specify logical order of arguments.
127
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
132
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
137 help
138 If the file is a directory, don't descend into it. Useful for
139 exclusion .svn and CVS directories.
140
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
145 help
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.
149
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
154 help
155 The -path option matches whole pathname instead of just filename.
156
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
161 help
162 The -regex option matches whole pathname against regular expression.
163
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
168 help
169 Support the 'find -context' option for matching security context.
170
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
175 help
176 Support the 'find -links' option for matching number of links.
177 config BUSYBOX_CONFIG_GREP
178 bool "grep"
179 default BUSYBOX_DEFAULT_GREP
180 help
181 grep is used to search files for a specified pattern.
182
183 config BUSYBOX_CONFIG_EGREP
184 bool "egrep"
185 default BUSYBOX_DEFAULT_EGREP
186 help
187 Alias to "grep -E"
188
189 config BUSYBOX_CONFIG_FGREP
190 bool "fgrep"
191 default BUSYBOX_DEFAULT_FGREP
192 help
193 Alias to "grep -F"
194
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
199 help
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
204 bool "xargs"
205 default BUSYBOX_DEFAULT_XARGS
206 help
207 xargs is used to execute a specified command for
208 every item from standard input.
209
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
214 help
215 Support -p: prompt the user whether to run each command
216 line and read a line from the terminal.
217
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
222 help
223 Support quoting in the input.
224
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
229 help
230 Support -x: exit if the command size (see the -s or -n option)
231 is exceeded.
232
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
237 help
238 Support -0: input items are terminated by a NUL character
239 instead of whitespace, and the quotes and backslash
240 are not special.
241
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
246 help
247 Support -I STR and -i[STR] options.
248
249 endmenu