PartialZip is a rewrite of https://github.com/planetbeing/partial-zip in Rust.
It allows you to download single files from inside online zip archives.
You are welcome to add more zip types and decompression methods and file sources.
``` cargo build --release
./target/release/partialzip list http://yoururl/file.ipsw
./target/release/partialzip download http://yoururl/file.ipsw filename
./target/release/partialzip download http://yoururl/file.ipsw kernelcache.release.iphone10 kernelcache.release.iphone10 ```
sometimes zip archives are huge and you just need a couple of files, for example, a kernelcache from a ipsw
./target/release/partialzip download "http://XXXXX/iPhone10,6_11.1.2_15B202_Restore.ipsw" kernelcache.release.iphone10b kernelcache.release.iphone10b
[00:00:05] [########################################] 14.36MB/14.36MB (0s)
As you can see the time (and traffic) saved is significant.
PartialZip only download the required chunks for your file, allowing you to download few MB instead of serveral GB of the original IPSW.