Re: Ignoring parts of stat(2)

2010-01-05 Thread Matthias Schniedermeyer
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

Re: Ignoring parts of stat(2)

2010-01-05 Thread Matthias Schniedermeyer
On 05.01.2010 05:36, grarpamp wrote: > > That option can be easily missed it's: --size-only > > That seems like at least part of what would be useful :) > Certainly it covers the most common case of modtimes. > > However, it doesn't seem to work :( > > cp -p /etc/passwd a > cp -p /etc/passwd b

RE: Ignoring parts of stat(2)

2010-01-05 Thread Tony Abernethy
Matthias Schniedermeyer wrote: > On 05.01.2010 05:36, grarpamp wrote: > > > That option can be easily missed it's: --size-only > > > > That seems like at least part of what would be useful :) > > Certainly it covers the most common case of modtimes. > > > > However, it doesn't seem to work :( > >