1024jp / GzipSwift

Swift package that enables gzip/gunzip Data using zlib
MIT License
544 stars 134 forks source link

Gunzipping a Folder #1

Closed perlmunger closed 9 years ago

perlmunger commented 9 years ago

I wasn't sure from your README how I might use this to gunzip a folder of files in my Documents directory for example. Are you able to just call write on the NSData object and it will handle writing out all of the files in the archive?

Thanks.

1024jp commented 9 years ago

In the first place, gzip cannot compress multiple files. You need first to archive your files into a single file using Tar or something, and this extension has nothing to do with it.

Sorry for my late answer. I hope you've already found your solution.