[BUGS] Rsync syncing sync'd files

Jerahmy Pocott quakenet1 at optusnet.com.au
Mon Dec 24 23:16:04 EST 2007


On 24/12/2007, at 7:28 PM, Andrew Reilly wrote:

> On Mon, 24 Dec 2007 17:39:49 +1100
> Jerahmy Pocott <quakenet1 at optusnet.com.au> wrote:
>
>> Maybe I should not check for time differences?
>
> Don't.  SMB/MS-DOS/Windows has a different notion of how to
> time-stamp a file (local vs UTC), and that's probably going to
> cause grief. rsync is clever enough (or can be persuaded to be,
> with a command-line flag) to find differences in the actual
> content of the files, and that should suffice for this sort of
> thing.

I would like the time/date to be set on the files still though, just  
not used a reason to send a few 100mb over the wan when the files are  
exactly the same..

Should I use -c to 'skip based on checksum, not mod-time & size'? That  
sounds like it would take quite a bit longer to perform, is there some  
way to say only checksum files who failed the faster size and mod-time  
tests?


More information about the BUGS mailing list