深度阅读

How to view progress and statistics of rsync transfers?

作者
作者
2023年08月22日
更新时间
8.34 分钟
阅读时间
0
阅读量

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.

相关标签

博客作者

热爱技术,乐于分享,持续学习。专注于Web开发、系统架构设计和人工智能领域。