in reply to Re^8: [OT] Tar file with non-identical duplicate files and no paths?(A solution)
in thread [OT] Tar file with non-identical duplicate files and no paths?

<confession>I don't use use Windows very often, and I don't think I have ever used unxutils. </confession>

I have some tools from GnuWin32 loaded on XP in a VM for the times when I need such things. They have two implementations of tar:

I use bsdtar (for some reason my installation of the GNU tools won't unpack gzip'd tar files in a single step; I need to gunzip, then untar... probably just me).

I downloaded your problem archive and was able to use both the BSDtar tools and the GNU tools to unpack that pesky beast with no issues. Both unpacked the directory tree into a directory tree in the current directory (as tar should do w/o instructions to the contrary). Both worked as I expect tar to work when the archive contains multiple instances of the same file (i.e., the last in the archive overwrites previous instances).

<confession_reprise> I don't use use Windows very often. YMMV (but hopefully not by much). </confession_reprise>

Replies are listed 'Best First'.
Re^10: [OT] Tar file with non-identical duplicate files and no paths?(A solution)
by syphilis (Archbishop) on Sep 14, 2008 at 13:47 UTC
    GNU tools won't unpack gzip'd tar files in a single step; I need to gunzip, then untar... probably just me

    Nope ... same for me, too. Cygwin's tar utility will do it in one step. I haven't tried BSDtar.

    Although Cygwin's tar seems fine for unpacking, it can sometimes pack in some unwanted attributes/permissions (all files marked executable, in the one particular case that I'm thinking of) - so I avoid it if possible.

    Cheers,
    Rob