"Brian J. Murrell" wrote:
> 
> So I have an (somewhat old) cooker tree here.  I figure I will rsync it
> up/down to a 7.2 final for my product boxes.  I did a small experiment to
> see just how brutal the transfer was going to be.  I chose a file on my
> cooker tree and the 7.2 final tree that "appeared" the same.  They were
> not in reality though.  Take for example this file from my cooker tree
> before rsyncing the file:
> 
> # ls -l Mandrake/RPMS/zsh-doc-3.1.9-4mdk.i586.rpm
> -rw-r--r--    1 brian    brian      599913 Sep 22 11:54 
>Mandrake/RPMS/zsh-doc-3.1.9-4mdk.i586.rpm
> # sum Mandrake/RPMS/zsh-doc-3.1.9-4mdk.i586.rpm
> 13516   586
> 
> Then I rsynced the file:
> 
> # cd Mandrake/RPMS
> # rsync -a 
>rsync://rsync.proxad.net/mandrake/7.2/i586/Mandrake/RPMS/zsh-doc-3.1.9-4mdk.i586.rpm .
> 
> And it transferred the whole file.  It is actually different even though
> the name/version/revision did not change.

It may be something to do with your use of -a.   That isn't what you
want, since it transfers the owner number, group number, and
permissions from the server.  This would likely render the file
inaccessible to whatever user you ran rsync under, hence the
re-download.

Better to standardise on rsync -rltvP.

-- 
Regards,

Ron. [AU]

Reply via email to