DataCompression icon indicating copy to clipboard operation
DataCompression copied to clipboard

Unzip a .gz folder

Open maximilianlemberg-awl opened this issue 3 years ago • 1 comments

Can you show a code example of unzipping a .gz folder and storing the folder on an ios device in order to access the files stored in the archive?

That would be highly appreciated.

maximilianlemberg-awl avatar Nov 17 '22 11:11 maximilianlemberg-awl

Hi! With ".gz folderyou mean.tar.gz? This library can only do the decompression, not untar operation. You will need another tar file library to do that. ([DataCompression](https://github.com/mw99/DataCompression) can turn .tar.gzinto.tar`, but can't extract the files.) If you search the web for "ios untar library" I'm sure you will find what you need.

mw99 avatar Nov 18 '22 09:11 mw99