Re: why each time I do a file sync,

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 &...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2005
John Van Essen
 
Posts: n/a
Default Re: why each time I do a file sync,

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0