[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] TAR creates hard links or duplicated files inside archive
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option |
Date: |
Wed, 7 Nov 2012 16:37:03 +0100 |
User-agent: |
nail 11.22 3/20/05 |
Paul Eggert <address@hidden> wrote:
> On 11/07/2012 06:21 AM, Marek Kielar wrote:
>
> > $ gtar -cf t.tar f f ...
> > gtar: f: already added to archive, skipping
> > ...
>
> Yes, that might also be reasonable behavior.
> It's not clear to me that it's enough better
> than the current behavior to make it the default,
> though.
Well, a "normal tar" does not keep the meta data for the list of files in a
file list file. There would at least be a need to sort the list and to
normalize file names to find repeated names.
gtar on the other side seems to put all files into the database for linked
files and could check whether a file with link count 1 is seen more than once.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, (continued)
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Joerg Schilling, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files in sidearchive when using -T option, Marek Kielar, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files insidearchive when using -T option, Paul Eggert, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/06
- Re: [Bug-tar] TAR creates hard links or duplicated files in side archive when using -T option, Marek Kielar, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option,
Joerg Schilling <=
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Joerg Schilling, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Tim Kientzle, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02