This is a discussion on Re: why each time I do a file sync, within the Rsync forums, part of the Networking and Network Related category; On Mon, 24 Oct 2005, Adrian Mak <makkaichung@gmail.com> wrote: > > rsync --progress --verbose --stats --recursive &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, 24 Oct 2005, Adrian Mak <makkaichung@gmail.com> wrote:
> > rsync --progress --verbose --stats --recursive > test@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 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html |