Results 1 to 4 of 4
man rsync says:
--compress-level=NUM
Explicitly set the compression level to use (see --compress) instead of letting it default. If NUM is non-zero, the --compress option is implied.
This doesn't help ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-31-2012 #1Just Joined!
- Join Date
- Jul 2012
- Posts
- 3
rsync --compress-level=NUM. What is NUM?
man rsync says:
--compress-level=NUM
Explicitly set the compression level to use (see --compress) instead of letting it default. If NUM is non-zero, the --compress option is implied.
This doesn't help too much... What values can NUM be? 1-5? 1-10000? Does a bigger number mean higher compression / less network traffic or other way around?
I've googled this quite a bit and can't find any answers.
- 07-31-2012 #2
Hi and welcome
you are right, I also couldnt find an explanation for NUM.
However, I am fairly sure that the range is from 1-9 as rsync uses zlib.
9 means highest compression.You must always face the curtain with a bow.
- 07-31-2012 #3Just Joined!
- Join Date
- Jul 2012
- Posts
- 3
Thank you for the extremely quick response! A further question on that if I may - what's the default compression level if only the -z / --compress flag is used?
- 07-31-2012 #4Just Joined!
- Join Date
- Jul 2012
- Posts
- 3
Actually, Google did return results for that answer - it's 6. (Can't link to answer though, because I'm new)



