times difference causes write

Don Mahurin dmahurin at berkeley.innomedia.com
Wed Nov 14 07:52:16 EST 2001


Using rsync-2.4.6:

Is a times difference supposed to cause a write?

Also -t vs -I makes no difference.

Below shows the problem, I think:

[dmahurin at pc16 /tmp]$ mkdir x y

[dmahurin at pc16 /tmp]$ cp /bin/ls x

[dmahurin at pc16 /tmp]$ ls -l x/ls
-rwxr-xr-x    1 dmahurin users       43024 Nov 13 12:46 x/ls

[dmahurin at pc16 /tmp]$ rsync -vrtW x/ y
building file list ... done
./
ls
./
wrote 43112 bytes  read 36 bytes  86296.00 bytes/sec
total size is 43024  speedup is 1.00

[dmahurin at pc16 /tmp]$ touch x/ls

[dmahurin at pc16 /tmp]$ rsync -vrtW x/ y
building file list ... done
ls
./
wrote 43116 bytes  read 36 bytes  86304.00 bytes/sec
total size is 43024  speedup is 1.00

[dmahurin at pc16 /tmp]$ touch x/ls

[dmahurin at pc16 /tmp]$ rsync -vrIW x/ y
building file list ... done
ls
wrote 43116 bytes  read 36 bytes  86304.00 bytes/sec
total size is 43024  speedup is 1.00






More information about the rsync mailing list