Hello Sergey,

Am Samstag, 2. März 2019, 15:29:16 CET schrieb Sergey Poznyakoff:
> Dr. Axel Braun <axel.br...@gmx.de> 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!
Axel

-- 
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/axel.br...@gmx.de.asc

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




Reply via email to