Rsync – show progress and transfer rate

Rsync can be used to sync directories and files from one machine to another. Sometime we want to see the progress and transfer speed. For this –progress (or -P) option can be used.

$ rsync --progress -a file2.out prod1.infoheap.com:
sending incremental file list
file2.out
    207,585,280  19%   28.29MB/s    0:00:29 


In addition use -v option to print overall transfer rate in the end.

$ rsync --progress -v -a file2.out prod1.infoheap.com:
sending incremental file list
file2.out
  1,073,741,824 100%   28.62MB/s    0:00:35 (xfr#1, to-chk=0/1)

sent 1,074,004,069 bytes  received 35 bytes  29,424,769.97 bytes/sec
total size is 1,073,741,824  speedup is 1.00
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments