On 2023-07-18 12:37, Robert Webb via openSUSE Users wrote:
On Tue, 18 Jul 2023 10:39:45 +0200, "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2023-07-18 03:06, Robert Webb via openSUSE Users wrote:
On Mon, 17 Jul 2023 13:24:23 +0200, "jdd@dodin.org" <jdd@dodin.org> wrote:
Le 17/07/2023 à 13:10, Andrei Borzenkov a écrit :
On Mon, Jul 17, 2023 at 1:59 PM jdd@dodin.org <jdd@dodin.org> wrote: ...
jdd@localhost:~> rsync -rvv --delete -e ssh --exclude .dtrash
...
So, the file 'Fichier texte.txt' is "transferred" (no data) because its modification time in the destination does not match that in the source. And that is because you used the '-r' (--recursive) option instead of '-a' (--archive, equivalent to -rlptgoD), which everybody else uses (already suggested by Masaru). You got that from stackexchange?
I must be low on morning tea. Why...?
The critical difference between the rsync '-a' and '-r' options is that '-a' implies the '-t' (--times) option to preserve modification times, so the mtime on the destination file is set to be the same as the source file. Whereas with '-r', the time is set to the current time ("transfer time"), like using 'cp' without the '-p' or other time-preserving option.
Ah, of course. Gottit :-) -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)