How to view progress and statistics of rsync transfers?

Published on Aug. 22, 2023, 12:18 p.m.

To view progress and statistics of rsync transfers, you can use the --progress option in the command. This will show a progress bar and transfer rate during the operation. Additionally, you can use the --stats option to show statistics at the end of the operation, including the total data transferred, the transfer rate, and the elapsed time. Here is an example command showing both options:

rsync -avzh --progress --stats source/ destination/

This command will sync the source directory with the destination directory, showing a progress bar and transfer rate during the operation and statistics at the end. Note that the -avzh flags are additional options commonly used with rsync to copy files recursively, preserve permissions and timestamps, compress data during transfer, and show human-readable output.

Tags: