[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intelligent mirroring



Hello,

Martijn van Oosterhout wrote:

On Wed, Aug 08, 2001 at 07:35:10PM -0400, Adam C Powell IV wrote:

Rsync is of course so slow because it must touch every byte of every file on the client and server. This is important for archives where a lot of files are changing. But .debs with a given filename never change, so most of the md4summing disk/CPU activity is totally useless.


Check the docs for rsync, but IIRC it is possible to tell rsync to look at
timestamps and filesizes and skip files if they match. That should reduce
most files to a simple stat().

Hmm, no option to do that, but -c or --checksum does the opposite (md4sums all files). I guess this means the default is to not md4sum when names, stamps and sizes don't change?

So, I guess this is already done.

Thanks,
--

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe! <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>





Reply to: