Bug 9764 - Show progress on terminal when using the checksum parameter
Show progress on terminal when using the checksum parameter
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.0.9
x86 Linux
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-04 09:04 UTC by Mayk
Modified: 2013-06-02 22:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mayk 2013-04-04 09:04:52 UTC
rsync is fantastic for synchronizing remote sites and most often doing the compare without -c is sufficient. In this case progress is shown file by file because building and transmitting the list is pretty fast even for huge directory trees.

However, if one occasionally wants to verify all data by using parameter -c , building the list of all MD5 hashes on a big tree may take hours without any indication of progress.

I suggest that in this case rsync first determines the total count of files to be compared, and afterwards updates progress by showing "Calculating MD5 of file no. xxx of yyy total".

Once the list is built the usual display of messages can be resumed.