Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I‘m transferring 1.1 Mb files over very poor GSM EDGE connection. My rsync command is:

rsync --partial --remove-source-files --timeout=120 --append --progress --rsh=ssh -z LOCAL_FILE root@SERVER:REMOTE_PATH

File on remote server “grows” in size in steps of 262144 bytes. That is a lot, because system needs to transfer at least 262144 (before compression) every time connection is established. When I use scp –C chunk size is about 32Kb. Is there a way to change chunk size for rsync?

I've tried --block-size but no visible difference.

share|improve this question
add comment

1 Answer

--block-size is used for the checksum, not the transfer. However, if you use --inplace you might be able to force a smaller update size, but there are a few caveats with --inplace (see the manual)

share|improve this answer
    
Manual says that -append implies --inplace –  Marcin Polkowski Aug 1 '13 at 14:43
    
You're right, I missed that. –  JvO Aug 1 '13 at 16:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.