[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: |
Tim Kientzle |
Subject: |
Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option |
Date: |
Fri, 2 Nov 2012 07:27:20 -0700 |
On Nov 2, 2012, at 4:10 AM, Live user wrote:
> On 01/11/2012 20:33, Paul Eggert wrote:
> >
> > Could you give a complete recipe for reproducing the problem?
> >
>
> On 02/11/2012 4:15, Tim Kientzle wrote:
>>
>> Try using the -n option as well. Most people who have
>> problems with -T need to add -n.
>
> I've tried with -n option as well, and the problem still persists. I'm
> creating the following tar archive (I need the -T option because I think that
> files must be added in a specific order, not necessarily alphabetical):
I'm curious: Why do you think the order matters?
> --------------------------
>
> address@hidden:~/test$ tar -n -cvf gameloft.tar -T gameloft.txt
> …
> shared/0/Android/obb/com.gameloft.android.ANMP.GloftA7HM/imgiab7121.bin
> …
> shared/0/Android/obb/com.gameloft.android.ANMP.GloftA7HM/imgiab7121.bin
Did you really mean to add the above file twice?
There are a bunch of other files that also appear twice
in your file list.
> hrw-rw-r-- dorian/dorian 0 2012-10-23 07:44
> shared/0/Android/obb/com.gameloft.android.ANMP.GloftA7HM/imgiab7121.bin link
> to shared/0/Android/obb/com.gameloft.android.ANMP.GloftA7HM/imgiab7121.bin
The duplication above is what's causing this hardlink entry.
(A hardlink entry is just tar's way of avoiding storing a file
contents twice.)
Tim
- [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/01
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/01
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Tim Kientzle, 2012/11/01
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option,
Tim Kientzle <=
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Joerg Schilling, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Tim Kientzle, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Tim Kientzle, 2012/11/02
- 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, Nathan Stratton Treadway, 2012/11/02
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02