[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tar - `extract dir' removes files, a BUG?
From: |
Roland Huebner |
Subject: |
Re: tar - `extract dir' removes files, a BUG? |
Date: |
Thu, 31 May 2001 17:12:48 +0200 |
User-agent: |
tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14 (i586)) |
Paul Eggert <address@hidden> wrote:
>> From: Roland Huebner <address@hidden>
>> Date: Wed, 30 May 2001 09:43:11 +0200
>> -- `extract dir' removes all files `newer than' the incremental backup
> That's how it's documented to behave. tar.texi says:
> If the @value{op-incremental} option is used with @value{op-extract}, then
> when the entry for a directory is found, all files that currently
> exist in that directory but are not listed in the archive @emph{are
> deleted from the directory}.
I'm very sorry, I run over that sentence primarily concerning the old
option ;-(
> I typically restore into a new directory myself.
I used it as a workaround - but with a number of sub-dirs that's rather
troublesome.
> I suppose it might be useful to have yet another option to have tar behave
> the way that you want it to.
I'd like it. That make it easier to deal with.
Thanks for your prompt answer,
Roland