Displaying 2 results from an estimated 2 matches for "max_size_arg".
2005 Apr 25
2
How about a --min-size option, next to --max-size
There's a rather old bug report in Debian's bug tracking system
(see http://bugs.debian.org/27126) about wanting to be able to specify
the maximum file size, as well as the minimum file size. Here's the
text:
Sometimes, it's useful to specify a file size range one is
interested in.
For example, I'd like to keep an up-to-date mirror of Debian, but I
currently
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
...in_age = 0;
int ignore_errors = 0;
int modify_window = 0;
int blocking_io = -1;
@@ -698,6 +700,8 @@ static struct poptOption long_options[] = {
{"ignore-existing", 0, POPT_ARG_NONE, &ignore_existing, 0, 0, 0 },
{"max-size", 0, POPT_ARG_STRING, &max_size_arg,
OPT_MAX_SIZE, 0, 0 },
{"min-size", 0, POPT_ARG_STRING, &min_size_arg,
OPT_MIN_SIZE, 0, 0 },
+ {"max-age", 0, POPT_ARG_INT, &max_age, 0, 0, 0 },
+ {"min-age", 0, POPT_ARG_INT, &min_age, 0, 0, 0 },
{"max-alloc"...