Ignoring parts of stat(2)

Matthias Schniedermeyer ms at citd.de
Tue Jan 5 01:31:05 MST 2010

On 05.01.2010 02:33, grarpamp wrote:
> How do I make rsync ignore and not report or update certain parts
> of the [l]stat(2) struct or checksum when selecting which items to
> report or update in a hierarchy?
> For example, I want to run:
>  rsync -Haxi --delete /hier1/ /hier2/
> and have it NOT do anything if say ONLY the modtime differs.
> Leaving out or in the --times [-t] option from the expansion of -a
> to -rlptgoD obviously does not do this.

That option can be easily missed it's: --size-only

Bis denn

Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

More information about the rsync mailing list