Adrian Mak
2005-Oct-24 08:58 UTC
why each time I do a file sync, it showed me that a file trasnfers is occured
I executed 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. for example, 12 100% 0.00kB/s 0:00:00 abcdef 44 100% 0.00kB/s 0:00:00 demo2 0 100% 0.00kB/s 157:26:58 demo3 0 100% 0.00kB/s 157:26:58 xyz 0 100% 0.00kB/s 157:26:58
Adrian Mak
2005-Oct-24 08:59 UTC
why each time I do a file sync, it showed me that a file trasnfers is occured
should I have some mis-interpretation on these message output ?
Paul Slootman
2005-Oct-24 09:04 UTC
why each time I do a file sync, it showed me that a file trasnfers is occured
On Mon 24 Oct 2005, Adrian Mak wrote:> I executed > 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. > for example,You don't show the --stats output. Please do. Paul Slootman
John Van Essen
2005-Oct-24 12:09 UTC
why each time I do a file sync, it showed me that a file trasnfers is occured
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
Reasonably Related Threads
- Processing incoming calls with multiple contextst over PRI
- when save the domain, the following errors occured
- kernel and netfilter patches already in Redhat AS 4 for IPSEC
- text console base config tool for shorewall
- how do I configure shorewall to block people port scanning ?