问题原文
原帖链接 · cronfy · CC BY-SA 3.0
Rsync has command line arguments for compression:
-z, --compress compress file data during the transfer
--compress-level=NUM explicitly set compression level
What does --compress-level mean? Which numbers can be used as level?
社区高分解答
原帖链接 · ptman · CC BY-SA 4.0
rsync since version 3.2.0 supports more than zlib:
--compress, -z
turn on compression
--compress-choice=STR, --zc=STR
choose compression from lz4 (fastest), zstd, zlibx, zlib (slowest), none
--compress-level=NUM, --zl=NUM
zlib and zstd can be tuned with compression level
zlib from 1 (lowest) to 9 (highest), default 6
zstd from -131072 to 22, default 3
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
