This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tar incremental backups and ctimeâ problem
- From: Erik Soderquist <ErikSoderquist at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 May 2016 13:19:17 -0400
- Subject: Re: tar incremental backups and ctimeâ problem
- Authentication-results: sourceware.org; auth=none
- References: <CAOKAGPP0o6vV2KTpfs4M0DyqwHA3pVw-+xkwLmjyWpAFthbA+A at mail dot gmail dot com>
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