[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] problem with gnu tar
From: |
Wayne Cripps |
Subject: |
[Bug-tar] problem with gnu tar |
Date: |
Fri, 16 Jan 2004 19:23:49 -0500 (EST) |
Hi -
I am trying to use the -N, or --after-date option, and I
found that it was backing up files based on ctime rather
than mtime. So I changed the file create.c, line 860
removing the ! from before after_date_option in the lines
if (!incremental_option && !S_ISDIR (current_stat.st_mode)
&& current_stat.st_mtime < newer_mtime_option
&& (after_date_option || current_stat.st_ctime < newer_ctime_option))
and now it seems to be working as I want it to, backing up files
with a modification time after the date supplied, rather than the
ctime after the date supplied, when the after_date_option variable
has been set.
I am not clear on whether my expectations of the --after-date are
wrong, or whether this is a bug in tar.
Wayne
- [Bug-tar] problem with gnu tar,
Wayne Cripps <=