bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Regarding untaring tar files containing symlinks


From: Joerg Schilling
Subject: Re: [Bug-tar] Regarding untaring tar files containing symlinks
Date: Mon, 30 Jun 2014 16:40:16 +0200
User-agent: nail 11.22 3/20/05

Amit Kapila <address@hidden> wrote:

> On Mon, Jun 30, 2014 at 6:42 PM, Joerg Schilling <
> address@hidden> wrote:
> > Amit Kapila <address@hidden> wrote:
> > > One more question, after using copysymlinks, will it retain the
> > > symlinks in Extracted data(folder)?
> >
> > It will create copies as Win-DOS does not support symlnks.
>
> For my usecase, I need it to maintain symlinks even after it gets
> untarred.  I have noticed that WinRar is able to maintain symlinks
> after extraction.

I am not sure how this should work, given the fact that Win-DOS does not 
correctly support symlinks.

See:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363866%28v=vs.85%29.aspx

On the other side, are you sure that winrar supports tar archives?

You may like to check to list this archive:

        
http://sourceforge.net/projects/s-tar/files/testscripts/pax-big-10g.tar.bz2/download

and test whether the listing looks correctly, similar to this:

10737418240 -rw-------  jes/glone Jun 15 23:18 2002 10g
          0 -rw-r--r--  jes/glone Jun 15 16:53 2002 file
star: 1048576 blocks + 3072 bytes (total of 10737421312 bytes = 10485763.00k).

I would guess that winrar is unable to list both filenames.

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



reply via email to

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