On Tue, Feb 13, 2001 at 09:26:39AM +0100, wolf wrote:
> Hello,
>
> Before using rsync 2.4.6 I usually test with the -n Option before rsync.
>
> rsync -avz -n --bwlimit=3 --rsh=ssh --rsync-path=/opt/bin/rsync --delete
> tmp user@remotehost:/home/user
>
> I observed the following difference in the Output 'wrote'and 'read'
>
> a) with -n
>
> wrote 792 bytes read 128 bytes 40.89 bytes/sec
> total size is 59597 speedup is 64.78
>
> b) 'real' rsync
>
> wrote 10273 bytes read 452 bytes 612.86 bytes/sec
> total size is 59597 speedup is 5.56
>
> Is this ok (cause rsync tells only how many bytes really 'wrote' and
> 'write')?
Yes, that's the way it works. -n doesn't go through enough of the process
to determine how many bytes will be written & read without it.
> How can I estimate how many data would really transferred before
> rsyncing?
Currently there isn't a way that I know of.
- Dave Dykstra