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
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
, 2007 12:31 PM
To: rsync@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
PROTECTED]
Sent: 22 February 2007 21:52
To: Julian Pace Ross; rsync@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
Subject: RE: Number of files to be transferred?
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
On 2/22/07, Eric Busto [EMAIL PROTECTED] wrote:
Looks like I just need to print out file_list.count.
No, that gives the total number of files rsync is considering, not how
many it is going to transfer. There is no way to determine how many
files rsync is going to transfer short of a dry run.
Subject: Re: Number of files to be transferred?
On 2/22/07, Eric Busto [EMAIL PROTECTED] wrote:
Looks like I just need to print out file_list.count.
No, that gives the total number of files rsync is considering, not how
many it is going to transfer. There is no way to determine how many
files rsync