X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=Qt
	EHjs7qpFareBMZRE1kOWJFrZ/SOxyQx9JpQCXWMYTFhecxJMPuVvtQPmoP/7DyKj
	cUQik40E4wWy2yUQqkcPMZZnCsvwQgaVCB55ECNxgcXUGCvddhOO9ZLk8aJiOkxk
	x+u4h1JytF1urdptllKUMzKsyoj23lBwBsvOSx8pI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=0bRxbzIe
	XJhZHQSANPfyyvQTDI4=; b=jRxU1jPQ8nRbQfYtPHxC0GVLvsFZZSYhV9QLGFYH
	JAc7ivbixjziWHD8L9gTdY3MKkrEAyJ6Slo5NQYqA+QnjDjROOlUQsm/cXXist75
	ACY/gdh1oxwXMlk/SGoyxk3DiSjSWzA/vkqUhdjrZCuo1tuYZgvdtQEcF4pM4Jjx
	uQk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Erik, erik, office, Office
X-HELO: mail-lf0-f44.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:sender:in-reply-to:references:date         :message-id:subject:from:to;        bh=iwgmFNijFQj9i/Lz72J6qgqq0nICP4CfEXjpFepyas4=;        b=ftKDvcedXbfRgByfrlHffscrCt9iyBetP6B9PlopqtgYUPd1vGgQeRer2hIZlk2XEL         owtI9JDn7JgVz1fIMS/oY1CJYkb5Wj9E8Q9MrzSgjb23E6/qoWsvHEcv9KmWmlSl2gIv         jEZX78sASMIn6VJ2rym2BizUcWOwW1Hl2yM0+m1D/Wgq++rouaaDWOCM8asitOUQIAcG         5/QMKaYeIHEYv1wJN+l6ZjmrkAtJNkqYuqoZiHxOpKTlnqFvHni8NxwirBcVEynz+8Wm         oOmhIlfGrDN24m05CtTvgWqFtJZnjF3y1C/xgqxoqjrJtt8BUwvrmJ0hFFbYKFk09brB         9nIQ==
X-Gm-Message-State: AOPr4FXmagUUcs4T7K5fIo7X6lsjKfU0tQ8Jtbm1exC93VBs/Qf1LVO+VfDZ8wKb81Y5KdSMcIX8Q9t39rmQcA==
MIME-Version: 1.0
X-Received: by 10.25.201.88 with SMTP id z85mr5528767lff.140.1464023957791; Mon, 23 May 2016 10:19:17 -0700 (PDT)
In-Reply-To: <CAOKAGPP0o6vV2KTpfs4M0DyqwHA3pVw-+xkwLmjyWpAFthbA+A@mail.gmail.com>
References: <CAOKAGPP0o6vV2KTpfs4M0DyqwHA3pVw-+xkwLmjyWpAFthbA+A@mail.gmail.com>
Date: Mon, 23 May 2016 13:19:17 -0400
Message-ID: <CACoZoo3WTtzVZApmfAD+K8aRqau3x8BtcHKe47o5HO2m4N53Ew@mail.gmail.com>
Subject: =?UTF-8?Q?Re=3A_tar_incremental_backups_and_ctime=E2=80=8F_problem?=
From: Erik Soderquist <ErikSoderquist@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Mon, May 23, 2016 at 4:40 AM, x y wrote:
> Hello,
>
> The MS Office applications are changing the ctime value of .doc and
> .xls files even if they are not modified. Opening and closing an
> office file without modifying the content is changing ctime and the
> unmodified document is included in the incremental tar archive.

I would say this is an MS Office flaw.  If _nothing_ is, neither ctime
nor mtime should be updated.


> Could it be possible to use the mtime value instead of ctime to avoid
> the the reappearance of the unchanged files in the incremental archive?

Use a find command to build a file list of all files changed since
last backup.  Personally I highly recommend differential against last
full rather than incremental, but that is a different discussion.

Also, you might reach out to Microsoft for why they are modifying any
timestamp if nothing was changed.

-- Erik

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

