search for: same_access_time

Displaying 1 result from an estimated 1 matches for "same_access_time".

2001 Sep 01
3
Patch to make rsync preserve access times
...*************** > *** 201,206 **** > --- 203,209 ---- > if (file->uid == last_uid) flags |= SAME_UID; > if (file->gid == last_gid) flags |= SAME_GID; > if (file->modtime == last_time) flags |= SAME_TIME; > + if (file->accesstime == last_access_time) flags |= SAME_ACCESS_TIME; > > for (l1=0;lastname[l1] && (fname[l1] == lastname[l1]) && (l1 < 255);l1++) ; > l2 = strlen(fname) - l1; Setting this additional flag bit, SAME_ACCESS_TIME, should probably only be done if (preserve_access_times && remote_version >= 25), to ensu...