On Fri, Mar 11, 2011 at 14:17:49 -0600, Derek Martin wrote: > $ stat rsyncfrom/* > File: `rsyncfrom/bar' > Size: 0 Blocks: 0 IO Block: 4096 regular empty file > Device: 805h/2053d Inode: 41984 Links: 1 > Access: (0644/-rw-r--r--) Uid: (24574/demartin) Gid: ( 600/ staff) > Access: 2011-03-08 15:45:52.000000000 -0500 > Modify: 2011-03-08 15:45:52.000000000 -0500 > Change: 2011-03-08 15:45:52.000000000 -0500 [...] > > HOWEVER, NONE OF THE TIMES OF THE SOURCE FILES HAVE BEEN UPDATED.
Like John, in my tests rsync both with and without "-t" updates the access time of the original file (see session log below) I wonder if your filesystem is mounted with some "noatime"-type option? Nathan *** before copy *** 18:43:59 $ stat atime.test File: `atime.test' [...] Access: 2011-03-12 18:43:59.000000000 -0500 Modify: 2011-03-12 18:43:40.000000000 -0500 Change: 2011-03-12 18:43:40.000000000 -0500 *** without -t *** 18:44:00 $ rsync atime.test atime.test_copy 18:44:14 $ stat atime.test* File: `atime.test' [...] Access: 2011-03-12 18:44:14.000000000 -0500 Modify: 2011-03-12 18:43:40.000000000 -0500 Change: 2011-03-12 18:43:40.000000000 -0500 File: `atime.test_copy' [...] Access: 2011-03-12 18:44:14.000000000 -0500 Modify: 2011-03-12 18:44:14.000000000 -0500 Change: 2011-03-12 18:44:14.000000000 -0500 *** with -t *** 18:44:18 $ rsync -t atime.test atime.test_copy 18:45:08 $ stat atime.test* File: `atime.test' [...] Access: 2011-03-12 18:45:08.000000000 -0500 Modify: 2011-03-12 18:43:40.000000000 -0500 Change: 2011-03-12 18:43:40.000000000 -0500 File: `atime.test_copy' [...] Access: 2011-03-12 18:45:08.000000000 -0500 Modify: 2011-03-12 18:43:40.000000000 -0500 Change: 2011-03-12 18:45:08.000000000 -0500 (This is rsync v2.6.4 on a Linux 2.4.x ext2 filesystem with default mount options.)