Rsync sends again already existing files

Kevin Korb kmk at sanitarium.net
Thu Jun 29 20:43:05 UTC 2023


On 6/29/23 16:31, Stephane Ascoet via rsync wrote:
> Kevin Korb <kmk at sanitarium.net> le 29/06/2023 04:52:
>> --itemize-changes will cause rsync to tell you what it thinks is
> 
> Hi, thank you so much! Today I used a little different way of doing it, 
> and another computer, and the behaviour is the same. It seems that the 
> reason is a different timestamp. So the whole file is replaced just for 
> this? I've always read that Rsync was using an advanced checksum 
> mecanism instead of timestamps-only?

Your rsync isn't networking.  That means --whole-file is forced making 
rsync work pretty much like cp.  If rsync was networking it would 
determine what is different about the files then use the existing 
version + changes to make a new file (this is just extra effort when 
rsync isn't networking).

>> different.  Also, -z is counter-productive when rsync isn't networking.
> 
> Thanks again. It seems that "--progress" is redondant with "-P"(but it's 
> because I use a list of rsync commands skeletons, and some doesn't have 
> "-P" and I want to be sure to always have the progress indication).
> But, since I will now always use "-i", do "-v" and "--progress" add 
> something to "-i"?
>>

-i, -v, and --progress all only affect the output.  Once -i is in play 
-v adds a header and footer and --progress of course  adds the per-file 
progress bar.  -P is just --partial and --progress.  I am not a fan of 
-P as those 2 options are very different and I don't really see why they 
should go together.

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			https://sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,



More information about the rsync mailing list