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: Fri, 27 Jun 2014 14:53:20 +0200
User-agent: nail 11.22 3/20/05

Amit Kapila <address@hidden> wrote:

> On Fri, Jun 27, 2014 at 3:51 PM, Joerg Schilling <
> address@hidden> wrote:
> > Win-DOS does not support symlinks. Even newer versions that claim to
> support
> > symlinks make a difference between links to files and links to
> directories.
> >
> > If you are not able to live with the Cygwin symlink emulation, I
> recommend to
> > use star and to tell it to make copies by using the option -copysymlinks
>
> Is it similar to what tar.exe -h option which can be used when
> we form the tar on folders/files?

Tar has no options (like e.g. -f and in special not -h). Tar instead implements 
key letters. The fact that many tar implementations support to use '-' in front 
of key letters does not mean that "tar -f ..." is a compliant usage.

Note that a specific CLI that works with gtar may not work with other tar 
implemenations exccept when this CLI is standard compliant.

> The important point here is that the tar is created by using standard
> tar format described in link below:
> http://en.wikipedia.org/wiki/Tar_(computing)

I believe that you are not talking about "tar" (see e.g. 
https://sourceforge.net/p/schillix-on/schillix-on/ci/default/tree/usr/src/cmd/tar/
 
for a source of the UNIX original tar implementation) but about gtar when 
talking 
about tar.exe. I am not sure how standard compliant gtar currently is and what 
you expect when using the term "standard tarformat), star is 
standard compliant with respect to the CLI and the archive format.

Star however implements extensions by allowing to use options and CLI 
extensions and by allowing other archive formats.



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]