rsync calculating the number of files transferred

Wayne Davison wayned at
Thu Apr 17 09:56:26 EST 2003

On Wed, Apr 16, 2003 at 04:34:00PM -0700, Eric Chen wrote:
> Is there anyway that rsync can report how many files it has to transfer?

Check out the --stats option.  It generates stats like this:

Number of files: 40823
Number of files transferred: 269
Total file size: 33482326 bytes
Total transferred file size: 419415 bytes
Literal data: 219498 bytes
Matched data: 199917 bytes
File list size: 966612
Total bytes written: 7683
Total bytes read: 1088712


More information about the rsync mailing list