delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/23/05:19:03

X-Recipient: archive-cygwin AT delorie DOT 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=wp
ggqvuFHtS+E/e6bRuUHvkWM6u5kVxw6PLKL3ZliQjyd4GmbRSgQkJ4EPlKdkuOJ/
1OpAUQ3Ci2oTj3FlxCu0g0I/cIAWXdubjMAn26sLV8EeIN46IN8AXU057BxUZCOm
nJ4kDRAagB6ehrnZowTELx1XNewkD3vYWT/g8ELLc=
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=nB9QNT6K
a/9YRTjC+R8K/2GoBEU=; b=saUYnKEsI4tAG+IJ6ORr7mbPQCkyBCMf83zwRV4W
7SULuDkcGIT5y7Q5/BGkbKkhpg2euoDFkgsaIALNfGVhpkSgfJkPX6lh8cr7cZbF
4Rtp+kuHxdZtFp/+dCJiqmZV9pa0gt3qunBFDIN9JXjUYEbIIyog1iJpCro4c/Q/
ksU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=marcoatzerigmailcom, marco DOT atzeri AT gmail DOT com, Hx-languages-length:2376, H*i:sk:09f604c
X-HELO: mail-wm0-f42.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:in-reply-to:references:date :message-id:subject:from:to; bh=rnzftXvt/cT6U9pPqf6lPKwDc5xtM2u6Djy8GGuBG3U=; b=dFsDvYte+tRKAKXaRvd1B3Aeq/aSkvGQy5B4AzvTaik+EqqzkU6/rSK+cY0UpDW29A QFQCZEbjxI/3qg0nJqub0s2uiB1WBsQjUrGwzOQZEsV0rE3v41aSVFSZPusOTQkISXcR /QoyvP0JmPcgfz/2j36jsxcDRSSGLD8dwllyJ7A7RiSA1L793NDz3L5O1KVdsud0PB4X S3DX9dm1BOY+5nZ5WlLCKQC4eMDc/klNh3wx3fdok92SEtG+lEyfFStcE70oRbj8fBoq K9XKIf+dBiH1BuIQuw+II1C/1Ooe8WljbsbQb8oppmb8DEAzGcCjHncqmkTbslUGQ+QT 41jA==
X-Gm-Message-State: AOPr4FWQKHBDPKJKEE+YxzeoUsQeAva8QuLmUwnATNFHKcZakweO3AgZKrZU2M0gAGOkdEBfZGLw239GnmJD7g==
MIME-Version: 1.0
X-Received: by 10.28.128.83 with SMTP id b80mr16996736wmd.89.1463995114121; Mon, 23 May 2016 02:18:34 -0700 (PDT)
In-Reply-To: <09f604cd-61df-e0c7-b313-1dcf1ef59b4e@gmail.com>
References: <CAOKAGPP0o6vV2KTpfs4M0DyqwHA3pVw-+xkwLmjyWpAFthbA+A AT mail DOT gmail DOT com> <9fdf98cf-e3d1-e453-1c98-2c206afe81c9 AT gmail DOT com> <CAOKAGPOzSYkmFRJazgQMwjUCKsKaBbE9gcVAdNnNvYUkmc=9Bw AT mail DOT gmail DOT com> <09f604cd-61df-e0c7-b313-1dcf1ef59b4e AT gmail DOT com>
Date: Mon, 23 May 2016 12:18:34 +0300
Message-ID: <CAOKAGPMHEiNLW3makusvvx2E7V9etjA+YPUMDh56=N42wmtLYA@mail.gmail.com>
Subject: =?UTF-8?Q?Re=3A_tar_incremental_backups_and_ctime=E2=80=8F_problem?=
From: x y <x1y2w3 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

It is not clear to me your expectation:
- are you asking how to use ctime to select the file with tar alone ?
  It is not possible for my understanding of the manual.

- Are you asking the package maintainer to change the behaviour of
  cygwin tar ? Unlikely to happen, but I leave to him.

Regards
Marco


Hi Marco,

Sorry, I am new to the mailing list. If I am not wrong, tar is
checking both of the ctime and mtime values to compare files during
incremental backups. Since opening and closing a MS document without
changing the content updates ctime, it would be preferable to add a
new option to tar to use only mtime for file comparing during
incremental backups.

On Mon, May 23, 2016 at 12:06 PM, Marco Atzeri <marco DOT atzeri AT gmail DOT com> wrote:
> On 23/05/2016 10:54, x y wrote:
>>
>> Hi Marco,
>>
>> Thanks for your reply. The problem is that there are a lot of files to
>> be checked so replacing ctime by time to support tar incremental
>> backup should be more practical.
>
>
> Bottom post on this mailing list, please.
>
> It is not clear to me your expectation:
> - are you asking how to use ctime to select the file with tar alone ?
>   It is not possible for my understanding of the manual.
>
> - Are you asking the package maintainer to change the behaviour of
>   cygwin tar ? Unlikely to happen, but I leave to him.
>
> Regards
> Marco
>
>
>
>>
>> On Mon, May 23, 2016 at 11:46 AM, Marco Atzeri <marco DOT atzeri AT gmail DOT com>
>> wrote:
>>>
>>> On 23/05/2016 10:40, 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. 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?
>>>>
>>>> Test OS  : Windows 7 Sp1
>>>>
>>>
>>>
>>> find -ctime should be able you to build the list of files
>>> that are changed and that tar should process
>>>
>>> Regards
>>> Marco
>>>
>
>
> --
> 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
>

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019