bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar -c -G -N <date> query


From: Stepan Kasal
Subject: Re: tar -c -G -N <date> query
Date: Thu, 3 Jul 2003 07:30:54 +0200
User-agent: Mutt/1.2.5.1i

Hello,

On Wed, Jul 02, 2003 at 04:12:22PM +0000, address@hidden wrote:
> tar -cGf /tmp/incremental.tar /tmp/testdir -N <date>
> 
> where <date> is just before the touch operation. tar then saves every
> file in /tmp/testdir/subdir in the incremental save -- despite all the
> other files in that subdirectory having ctimes before <date>.

I wasn't able to reproduce the bug, so I'd guess that it has been fixed
in the last version (1.13.25).

The tar manual (run "info tar") for this version also says that:

1) -G should not be used, except for backward compatibility;
use -g, --listed-incremental, instead.
(see also http://www.gnu.org/manual/tar/html_node/tar_42.html#SEC39 ,
search for -incremental)

2) the --newer* options should not be (normally) used for incremental 
backups; it doesn't backup files which has been moved to other
directory
(see also http://www.gnu.org/manual/tar/html_node/tar_98.html#SEC93 ,
``Note:'' near the bottom of the page)

BTW: it's a pitty that the version of manual on the web is so old.

HTH,
        Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]