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