Displaying 7 results from an estimated 7 matches for "delete_dur".
Did you mean:
delete_dir
2005 Sep 27
1
--delete and --dirs
rsync-2.6.6 manpage says:
--delete
[...]
This option has no effect unless directory recursion is enabled.
True. In fact, I noted that --delete doesn't delete anything if --dirs
is used rather than --recursive.
Is there any reason for --delete not to delete when used with --dirs?
Is there a way to get rsync to actually delete files on the receiving
end when using
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...= F_DEPTH(file);
- missing_dir = file;
+ skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
goto cleanup;
}
@@ -1474,8 +1476,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
DEV_MINOR(devp) = minor(real_sx.st.st_dev);
}
}
- else if (delete_during && f_out != -1 && !phase && dry_run < 2
- && (file->flags & FLAG_CONTENT_DIR))
+ else if (delete_during && f_out != -1 && !phase
+ && BITS_SETnUNSET(file->flags, FLAG_CONTENT_DIR, FLAG_MISSING_DIR))
delete_in_dir...
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...tor.c 2022-09-15 11:12:02.000000000 -0600
@@ -47,6 +47,8 @@ extern int preserve_perms;
extern int preserve_mtimes;
extern int omit_dir_times;
extern int omit_link_times;
+extern int omit_device_times;
+extern int omit_special_times;
extern int delete_mode;
extern int delete_before;
extern int delete_during;
@@ -482,7 +484,12 @@ int unchanged_attrs(const char *fname, struct file_struct *file, stat_x *sxp)
return 0;
#endif
} else {
- if (preserve_mtimes && any_time_differs(sxp, file, fname))
+ int keep_time = !preserve_mtimes ? 0
+ : S_ISDIR(file->mode) ? !omit_dir_times
+...
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
...;--min-age=%d", min_age) < 0)
+ goto oom;
+ args[ac++] = arg;
+ }
+ if (max_age > 0) {
+ if (asprintf(&arg, "--max-age=%d", max_age) < 0)
+ goto oom;
+ args[ac++] = arg;
+ }
if (delete_before)
args[ac++] = "--delete-before";
else if (delete_during == 2)
diff --git a/rsync.1.md b/rsync.1.md
index 2ae6f481..66dba8c3 100644
--- a/rsync.1.md
+++ b/rsync.1.md
@@ -491,6 +491,8 @@ has its own detailed description later in this manpage.
--max-delete=NUM don't delete more than NUM files
--max-size=SIZE don't transfer a...
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...ility)
FN_LOCAL_INTEGER(lp_timeout, timeout)
+FN_LOCAL_INTEGER(lp_diffserv, diffserv)
FN_LOCAL_BOOL(lp_fake_super, fake_super)
FN_LOCAL_BOOL(lp_forward_lookup, forward_lookup)
diff --git a/options.c b/options.c
index 9e95c86..6085444 100644
--- a/options.c
+++ b/options.c
@@ -69,6 +69,8 @@ int delete_during = 0;
int delete_before = 0;
int delete_after = 0;
int delete_excluded = 0;
+int diffserv = 8;
+char *congestion_alg = NULL;
int remove_source_files = 0;
int one_file_system = 0;
int protocol_version = PROTOCOL_VERSION;
@@ -776,6 +778,8 @@ void usage(enum logcode F)
rprintf(F,"...
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
...282 generator.c
--- generator.c 1 Jun 2006 08:04:40 -0000 1.282
+++ generator.c 2 Jun 2006 13:00:01 -0000
@@ -45,6 +45,7 @@
extern int preserve_gid;
extern int preserve_times;
extern int omit_dir_times;
+extern int omit_dir_changes;
extern int delete_mode;
extern int delete_before;
extern int delete_during;
@@ -348,10 +349,11 @@
iflags |= ITEM_REPORT_TIME;
if ((file->mode & CHMOD_BITS) != (st->st_mode & CHMOD_BITS))
iflags |= ITEM_REPORT_PERMS;
- if (preserve_uid && am_root && file->uid != st->st_uid)
+ if (preserve_uid && am_root &&...
2007 Sep 22
0
rsync build on IA64 using icc
...#1419: external declaration in primary source file
extern int delete_mode;
^
generator.c(48): remark #1419: external declaration in primary source file
extern int delete_before;
^
generator.c(49): remark #1419: external declaration in primary source file
extern int delete_during;
^
generator.c(50): remark #1419: external declaration in primary source file
extern int delete_after;
^
generator.c(51): remark #1419: external declaration in primary source file
extern int module_id;
^
generator.c(52): remark #1419: external declar...