Re: do I always have to use either --checksum or --times ?

2022-07-14 Thread Robin Lee Powell via rsync
--checksum is only slower than re-copying if your network connection between the hosts is similar in speed (or faster than) each host's local disk access. If local disk access is 10x your network link, it is definitely not slower than re-copying. Having said that, it really is *very* slow, and be

[Bug 15122] New: Potential vulnerability: rsync creates files outside the target directory

2022-07-14 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=15122 Bug ID: 15122 Summary: Potential vulnerability: rsync creates files outside the target directory Product: rsync Version: 3.2.0 Hardware: All OS: Linux

Re: do I always have to use either --checksum or --times ?

2022-07-14 Thread Kevin Korb via rsync
You should almost never use --checksum. It is slower than just re-copying everything. You should almost always use --times (or --archive which includes --times). Without this rsync is almost as dumb as cp. Also, ssh has been the default --ssh for a long time. On 7/14/22 04:22, Fourhundred

do I always have to use either --checksum or --times ?

2022-07-14 Thread Fourhundred Thecat via rsync
Hello, I want to sync local folder to remote server. When I run follwing command repeatedly, it always transfers everything each time again and again: rsync --rsh='ssh' foo/ server:/foo/ does it mean I have to always use either --checksum or --times, to prevent repeated transfer of files that