preserve ctimes of *unchanged* directories on receiver
lasse-rsync-2008 at mail.plastictree.net
Wed Mar 5 19:29:10 GMT 2008
* Message by -Wayne Davison- from Tue 2008-03-04:
> On Tue, Mar 04, 2008 at 12:21:01PM +0100, Lasse Kliemann wrote:
> > 'rsync -a' updates the ctime on a directory even if no file in that directory
> > has changed.
> Earlier rsyncs always did an extra stat() prior to setting the time, so
> I've restored that behavior. The attached patch fixes this.
Thank you, the patch works as expected.
For everyone's information: for the case at hand it is also a good idea to
use --inplace to prevent ctime changes to directories in which only *existing*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20080305/e9e918a4/attachment.bin
More information about the rsync