rsync problem

Sven Köhler skoehler@upb.de
Fri Dec 27 22:27:00 GMT 2002


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/



More information about the Cygwin mailing list