[Top][All Lists]

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

Re: [Bug-tar] GNU tar 1.30 fails to extract zip file

From: Dr. Axel Braun
Subject: Re: [Bug-tar] GNU tar 1.30 fails to extract zip file
Date: Sat, 02 Mar 2019 15:48:55 +0100

Hello Sergey,

Am Samstag, 2. März 2019, 15:29:16 CET schrieb Sergey Poznyakoff:
> Dr. Axel Braun <address@hidden> ha escrit:
> > I used tar for a while now to extract zip files with the command
> Tar cannot be used to extract zip files. It can, however, be used to
> extract tar archives *compressed with zip command*, provided that
> certain conditions are met (see below).

Yes, zip-compressed tar archives worked always....
> >   tar --strip-components 3 -xzf /tmp/${lang_file}
> This command can succeed only if:
> 1) /tmp/${lang_file} is a valid tar archive compressed with zip
> and
> 2) It (zip file, not the archive) contains only one entry. In other
> words, "unzip -l /tmp/${lang_file} | tail -n 1" shows something like:
>    522240                     1 file

OK then...seems I trapped into the later case and took it for general

Thanks for the explanation!

Dr.-Ing. Axel K. Braun
M: +49.173.7003.154
T: @coogor
VoIP/Skype: axxite
PGP Fingerprint: 2E7F 3A19 A4A4 844A 3D09 7656 822D EB64 A3BA 290D
Public Key available at http://www.axxite.com/address@hidden

Personal Freedom starts with free/libre Software....
...running openSUSE Leap 15.0

reply via email to

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