Re: Rsync sends again already existing files

Kevin Korb via rsync <[email protected]> Thu, 29 Jun 2023 16:43:05 -0400
Newsgroups gmane.network.rsync.general
Message-ID <[email protected]>
On 6/29/23 16:31, Stephane Ascoet via rsync wrote:
> Kevin Korb <[email protected]> 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.		[email protected]  (work)
	Orlando, Florida		[email protected] (personal)
	Web page:			https://sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html