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

Kevin Korb via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <[email protected]>
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 Thecat via rsync wrote:
> 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 have not changed ?
> 
> thank you,
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.