delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/27/20:31:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Path: not-for-mail
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT 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
X-Complaints-To: usenet AT main DOT gmane DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019