Number of files to be transferred?

Julian Pace Ross linux at prisma.com.mt
Thu Feb 22 20:59:27 GMT 2007


Oh. different story then. 

I'm sure that value that is printed with --stats is in the filelist
structure. maybe it could be output on stdout after "building file list."
with a small tweak. Maybe Wayne/Matt would know where this variable is?

 

 

  _____  

From: Eric Busto [mailto:EBusto at nvidia.com] 
Sent: 22 February 2007 21:52
To: Julian Pace Ross; rsync at lists.samba.org
Subject: RE: Number of files to be transferred?

 

Unfortunately, the data I am transferring is many hundreds of gigabytes,
mounted on NFS shares that reside on NetApp filers, and is being transferred
to locations on the other side of the globe.  A dry run can itself take an
hour or more, quite easily.

 

Since rsync is already doing a pass through the filesystem to determine what
to transfer, it would be cool if there was a way to show how many files it
will transfer during that sync.

-----Original Message-----
From: rsync-bounces+ebusto=nvidia.com at lists.samba.org
[mailto:rsync-bounces+ebusto=nvidia.com at lists.samba.org] On Behalf Of Julian
Pace Ross
Sent: Thursday, February 22, 2007 12:31 PM
To: rsync at lists.samba.org
Subject: RE: Number of files to be transferred?

If you perform a dry run (-n) with --stats, before the actual run (will only
add an overhead of typically a few seconds. a few minutes at worst depending
on size) you can get an idea of the "number of files to be transferred" and
"total transferred file size",

although the latter is (as adequately labeled) "total", and does not
represent the lower total size that would be transferred after skipping any
similar blocks.

 

 

 


  _____  


From: rsync-bounces+linux=prisma.com.mt at lists.samba.org
[mailto:rsync-bounces+linux=prisma.com.mt at lists.samba.org] On Behalf Of Eric
Busto
Sent: 22 February 2007 20:51
To: rsync at lists.samba.org
Subject: Number of files to be transferred?

 

I'm writing a wrapper around a large number of rsyncs that need to happen,
and it would be great if I could parse the output of a running rsync and
find out how far along it is.  To do this, I would need to know how many
files the rsync is going to transfer.  If I run 'rsync -avz --progress', it
tells me how many files it is considering, but not how many it actually
needs to update.

Does anyone know how to get rsync to show how many files it will actually
update? 

Thanks! 


  _____  


This email message is for the sole use of the intended recipient(s) and may
contain confidential information.  Any unauthorized review, use, disclosure
or distribution is prohibited.  If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the
original message. 


  _____  


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list