Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question rsync --compress-level=NUM. What is NUM?

    man rsync says:
    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.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    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.

  3. #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?

  4. $spacer_open
  5. #4
    Actually, Google did return results for that answer - it's 6. (Can't link to answer though, because I'm new)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts