Displaying 3 results from an estimated 3 matches for "preserve_atime".
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...44 2002
--- sender.c Fri Apr 12 11:09:52 2002
***************
*** 26,33 ****
extern int io_error;
extern int dry_run;
extern int am_server;
-
/*
receive the checksums for a buffer
*/
--- 26,36 ----
extern int io_error;
extern int dry_run;
extern int am_server;
+ extern int preserve_atime;
/*
receive the checksums for a buffer
*/
***************
*** 184,189 ****
--- 197,204 ----
rprintf(FERROR,"fstat failed :
%s\n",strerror(errno));
free_sums(s);
close(fd);
+ if (preserve_atime)
+ set_modtime(fname, file->modtime,
file->acctime...
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
...ster(file, ndx,
diff -uNr rsync-2.6.6/options.c rsync-2.6.6_patch/options.c
--- rsync-2.6.6/options.c 2005-05-19 10:52:17.000000000 +0200
+++ rsync-2.6.6_patch/options.c 2006-01-11 15:56:00.000000000 +0100
@@ -48,6 +48,7 @@
int preserve_uid = 0;
int preserve_gid = 0;
int preserve_times = 0;
+int preserve_atime = 0;
int omit_dir_times = 0;
int update_only = 0;
int cvs_exclude = 0;
@@ -286,6 +287,7 @@
rprintf(F," -g, --group preserve group\n");
rprintf(F," -D, --devices preserve devices (root only)\n");
rprintf(F," -t, --times...
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...(S_ISREG(file->mode) && F_LENGTH(file) != sxp->st.st_size)
diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/options.c devel-3.2.7/options.c
--- rsync-3.2.7/options.c 2022-09-10 14:14:42.000000000 -0600
+++ devel-3.2.7/options.c 2022-09-10 14:14:42.000000000 -0600
@@ -66,6 +66,8 @@ int preserve_atimes = 0;
int preserve_crtimes = 0;
int omit_dir_times = 0;
int omit_link_times = 0;
+int omit_device_times = 0;
+int omit_special_times = 0;
int trust_sender = 0;
int update_only = 0;
int open_noatime = 0;
@@ -646,6 +648,10 @@ static struct poptOption long_options[] = {
{"omit-link-times...