Displaying 6 results from an estimated 6 matches for "info_gte".
Did you mean:
info_ctr
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
...extern int min_age;
extern int io_error;
extern int flist_eof;
extern int allowed_lull;
@@ -1706,6 +1708,23 @@ static void recv_generator(char *fname, struct
file_struct *file, int ndx,
goto cleanup;
}
+ if (max_age > 0 && time(NULL)-file->modtime > max_age) {
+ if (INFO_GTE(SKIP, 1)) {
+ if (solo_file)
+ fname = f_name(file, NULL);
+ rprintf(FINFO, "%s is over max-age\n", fname);
+ }
+ goto cleanup;
+ }
+ if (min_age > 0 && time(NULL)-file->modtime < min_age) {
+ if (INFO_GTE(SKIP, 1)) {
+ if (solo_file)
+ fname = f_name(file,...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore = 1;
handle_skipped_hlink(file, itemizing, code, f_out);
+ }
#endif
- if (INFO_GTE(SKIP, 1)) {
- rprintf(FINFO, "not creating new %s \"%s\"\n",
- is_dir ? "directory" : "file", fname);
+ if(actually_ignore == 1) {
+ if (INFO_GTE(SKIP, 1)) {
+ rprintf(FINFO, "not creating new %s \"%s\"\n",
+ is_dir ? "...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore = 1;
handle_skipped_hlink(file, itemizing, code, f_out);
+ }
#endif
- if (INFO_GTE(SKIP, 1)) {
- rprintf(FINFO, "not creating new %s \"%s\"\n",
- is_dir ? "directory" : "file", fname);
+ if(actually_ignore == 1) {
+ if (INFO_GTE(SKIP, 1)) {
+ rprintf(FINFO, "not creating new %s \"%s\"\n",
+ is_dir ? "...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore = 1;
handle_skipped_hlink(file, itemizing, code, f_out);
+ }
#endif
- if (INFO_GTE(SKIP, 1)) {
- rprintf(FINFO, "not creating new %s \"%s\"\n",
- is_dir ? "directory" : "file", fname);
+ if(actually_ignore == 1) {
+ if (INFO_GTE(SKIP, 1)) {
+ rprintf(FINFO, "not creating new %s \"%s\"\n",
+ is_dir ? "...
2016 Mar 27
1
[Bug 11812] New: rsync without --verbose still writes "(new) backup_dir is ..." to STDOUT
https://bugzilla.samba.org/show_bug.cgi?id=11812
Bug ID: 11812
Summary: rsync without --verbose still writes "(new) backup_dir
is ..." to STDOUT
Product: rsync
Version: 3.1.2
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: core
2008 Oct 22
1
[PATCH] Make progress output show "done" instead of "to-chk".
...OFF_T size, struct timeval *now,
if (is_last) {
int len = snprintf(eol, sizeof eol,
- " (xfr#%d, to-chk=%d/%d)\n",
+ " (xfr#%d, done=%d/%d)\n",
stats.xferred_files,
- stats.num_files - current_file_index - 1,
+ current_file_index,
stats.num_files);
if (INFO_GTE(PROGRESS, 2)) {
static int last_len = 0;
--
1.6.0.2.593.g91df