Bug 127613 - progress output in wrong order
Summary: progress output in wrong order
Alias: None
Product: Fedora
Classification: Fedora
Component: rsync   
(Show other bugs)
Version: 3
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2004-07-10 22:49 UTC by Dave Jones
Modified: 2015-01-04 22:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-29 18:11:57 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
fix. (546 bytes, patch)
2004-11-25 07:02 UTC, Dave Jones
no flags Details | Diff

Description Dave Jones 2004-07-10 22:49:14 UTC
Description of problem:
With --progress, rsync outputs text like so...

650534912 100%    1.08MB/s    0:09:33  (4, 89.7% of 29)

which looks odd, (89.7%, 4 of 29) would seem to make more sense.

Comment 1 Dave Jones 2004-11-25 07:02:33 UTC
Created attachment 107453 [details]

Comment 2 Dave Jones 2004-11-25 07:04:45 UTC
attached patch seems to work for me, though it might be highlighting another bug.

Look at this output..

        7872 100%   19.66kB/s    0:00:00  (100.0%, 249 of 260)

sent 1258665 bytes  received 5000 bytes  2527330.00 bytes/sec
total size is 3874565  speedup is 3.

Shouldn't that last one be 260 of 260 ?  It seems it isn't
counting directories properly.  (This was an rsync of the rsync src dir,
which has 249 files and 11 dirs)

Comment 3 Jay Fenlason 2004-11-29 18:11:57 UTC
From the upstream maintainer: 
The bug reporter is misreading the output.  As stated in the manpage 
(with *highlighting* added by me): 
    After a file is complete, the data looks like this: 
         1238099 100%  146.38kB/s    0:00:08  (5, 57.1% of 396) 
    This tells you the final file size, that it's 100% complete, the 
    final transfer rate for the file, the amount of elapsed time it 
    to transfer the file, and the addition of a total-transfer 
    in parentheses.  These additional numbers tell you *how many 
    have been updated*, and what percent of the total number of 
    has been scanned. 
The bug reporter is misinterpreting the first number -- the output 
correct as is.  Note also that rsync has no idea how many files it 
transfer before starting to transfer files (and it would slow it 
down to 
do that extra scan beforehand, so it will never be done). 
Feel free to discuss any suggestions for changing the output on the 
mailing list, but just swapping the numbers (as suggested in bug 
would result in a bogus display of information, and will not be 

Note You need to log in before you can comment on or make changes to this bug.