Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
Path: not-for-mail
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler@upb.de>
Subject: rsync problem
Date: Sat, 28 Dec 2002 02:29:57 +0100
Lines: 33
Message-ID: <auiuql$kql$1@main.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en, de

hi,

i have a problem with rsync.
it copies the same the files again and agin and ....

i run
   rsync -rv dir1/ dir2/
but when i run rsync again it copies some files that have not been 
changed and if i run rsync the third, forth, etc. time, it copied the 
same files again.

is there anything wrong with the get/set-function for the file-time? i 
guess rsync uses the file time.

if i use the -c (checksum) option, rsync works OK, but that is just a 
work-around so far.

i can reproduce this as follows:

$ mkdir dir1 dir2
$ echo >dir1/test
$ rsync -rv dir1/ dir2/
building file list ... done
test
wrote 88 bytes  read 36 bytes  248.00 bytes/sec
total size is 2  speedup is 0.02

$ rsync -rv dir1/ dir2/
building file list ... done
test
wrote 88 bytes  read 36 bytes  248.00 bytes/sec
total size is 2  speedup is 0.02




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

