Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    3

    Question 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.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,411
    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
    Just 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?

  4. $spacer_open
    $spacer_close
  5. #4
    Just 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)

Posting Permissions

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