why each time I do a file sync, it showed me that a file trasnfers is occured

John Van Essen vanes002 at umn.edu
Mon Oct 24 12:09:09 GMT 2005


On Mon, 24 Oct 2005, Adrian Mak <makkaichung at gmail.com> wrote:
>
> rsync --progress --verbose --stats  --recursive
> test at 100.100.100.100::test /home/test2 --stats
> 
> but each time it showed me files are being transfer but actually the
> files is not changed or updated any.

Since you are using --recursive instead of --archive the timestamps
aren't copied.  On the next run, rsync thinks the file has changed
since the timestamps are not the same, and it must transfer the file.
However, since rsync does a block checksum comparison, it discovers
that the data really hasn't changed.  So no actual data is sent again.

Use --archive (or at least use --times).

Also, remove the trailing --stats.

    John


More information about the rsync mailing list