From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95348 invoked by alias); 23 May 2016 09:18:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 95338 invoked by uid 89); 23 May 2016 09:18:47 -0000 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.atzeri@gmail.com, Hx-languages-length:2376, H*i:sk:09f604c X-HELO: mail-wm0-f42.google.com Received: from mail-wm0-f42.google.com (HELO mail-wm0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 23 May 2016 09:18:36 +0000 Received: by mail-wm0-f42.google.com with SMTP id a136so11081141wme.0 for ; Mon, 23 May 2016 02:18:36 -0700 (PDT) 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) Received: by 10.194.56.134 with HTTP; Mon, 23 May 2016 02:18:34 -0700 (PDT) In-Reply-To: <09f604cd-61df-e0c7-b313-1dcf1ef59b4e@gmail.com> References: <9fdf98cf-e3d1-e453-1c98-2c206afe81c9@gmail.com> <09f604cd-61df-e0c7-b313-1dcf1ef59b4e@gmail.com> Date: Mon, 23 May 2016 09:18:00 -0000 Message-ID: Subject: =?UTF-8?Q?Re=3A_tar_incremental_backups_and_ctime=E2=80=8F_problem?= From: x y To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00263.txt.bz2 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 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 >> 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