tansy / unzip-lzfse

Adding lzfse support for unzip-6.0

Home Page:https://sskaje.me/2017/08/unzip-with-lzfse-support/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unzip with lzfse

This project is modified based on unzip-6.0

Read more: https://sskaje.me/2017/08/unzip-with-lzfse-support/

Build

Build lzfse

$ git clone https://github.com/lzfse/lzfse.git
$ cd lzfse
$ make
$ sudo make install

Build unzip-lzfse

$ git clone https://github.com/sskaje/unzip-lzfse
$ cd unzip-lzfse
$ git checkout lzfse
$ export LZFSE_PATH=/usr/local
$ make -f unix/Makefile all

Usage

try

unzip -h

e.g.

#unzip with lzfs
$ ./unzip -d dst pre-thinned2490830240475770608.thinned.signed.dpkg.ipa 
Archive:  pre-thinned2490830240475770608.thinned.signed.dpkg.ipa
   creating: dst/META-INF/
  unlzfsing: dst/META-INF/com.apple.ZipMetadata.plist  
 extracting: dst/META-INF/com.apple.FixedZipMetadata.bin  
   creating: dst/Payload/

#unzip
$ unzip -d dst pre-thinned2490830240475770608.thinned.signed.dpkg.ipa 
Archive:  pre-thinned2490830240475770608.thinned.signed.dpkg.ipa
   skipping: META-INF/com.apple.ZipMetadata.plist  unsupported compression method 99
   ...
   creating: dst/META-INF/
 extracting: dst/META-INF/com.apple.FixedZipMetadata.bin  
   creating: dst/Payload/

About

Adding lzfse support for unzip-6.0

https://sskaje.me/2017/08/unzip-with-lzfse-support/

License:Other


Languages

Language:C 79.9%Language:C++ 6.7%Language:Makefile 4.0%Language:Assembly 2.2%Language:Module Management System 1.6%Language:C# 1.5%Language:Visual Basic 1.1%Language:DIGITAL Command Language 1.1%Language:WebAssembly 0.5%Language:CMake 0.4%Language:RUNOFF 0.4%Language:Batchfile 0.2%Language:Objective-C 0.2%Language:Shell 0.1%Language:Max 0.1%Language:IDL 0.0%