0

Rsync can be slow to transfer small files when the option -z is enabled.

Consider a situation with thousands of very small files and a few very big files.

Is there a way to tell rsync to only compress the big files (a threshold in MiB)?

Thank you.

1 Answer 1

1

The problem is likely not that rsync is slow at compressing small files (I doubt that is correct) - rather the issue is likely the network latency and network back-and-forth to transmit multiple small files.

1
  • Right I noticed that it was slow for a lot of files but it might not be because of the compression. Like you said, it's very likely due to the network back-and-forth to transmit multiple small files. Jan 16, 2023 at 8:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .