### Example PartialZip Download Source: https://github.com/marcograss/partialzip/blob/master/README.md Illustrates a specific command-line usage example for downloading a kernelcache from an IPSW file, highlighting the efficiency of partial downloads. ```rust ./target/release/partialzip download "http://XXXXX/iPhone10,6_11.1.2_15B202_Restore.ipsw" kernelcache.release.iphone10b kernelcache.release.iphone10b ``` -------------------------------- ### Install and Use PartialZip CLI Source: https://github.com/marcograss/partialzip/blob/master/README.md Demonstrates how to install the PartialZip command-line tool using Cargo and lists common usage patterns for listing and downloading files from zip archives. ```rust cargo install partialzip ``` ```rust partialzip list http://yoururl/file.ipsw ``` ```rust partialzip download http://yoururl/file.ipsw kernelcache.release.iphone10 kernelcache.release.iphone10 ``` -------------------------------- ### Build and Use PartialZip from Source Source: https://github.com/marcograss/partialzip/blob/master/README.md Shows how to build the PartialZip project from its Git source using Cargo and execute the command-line tool for listing and downloading files. ```rust cargo build --release ``` ```rust ./target/release/partialzip list http://yoururl/file.ipsw ``` ```rust ./target/release/partialzip download http://yoururl/file.ipsw filename ``` ```rust ./target/release/partialzip download http://yoururl/file.ipsw kernelcache.release.iphone10 kernelcache.release.iphone10 ``` -------------------------------- ### Use PartialZip with Docker Source: https://github.com/marcograss/partialzip/blob/master/README.md Provides instructions for building a Docker container for PartialZip and running it to list files or download content, piping output to stdout. ```shell # build the container docker build -t marcograss/partialzip . # run it # list files docker run --rm marcograss/partialzip list http://yoururl/file.ipsw # download piping to stdout and save it on the host docker run --rm marcograss/partialzip pipe http://yoururl/file.ipsw kernelcache.release.iphone10 > kernelcache.release.iphone10 ``` -------------------------------- ### Check HTTP Range Header Support Source: https://github.com/marcograss/partialzip/blob/master/README.md Demonstrates how to use the `-r` flag with PartialZip to check if the HTTP server supports the Range Header, which is crucial for partial downloads. ```rust cargo run -- -r list http://yoururl/yourfile.zip ``` -------------------------------- ### PartialZip Library Usage Configuration Source: https://github.com/marcograss/partialzip/blob/master/README.md Explains how to configure PartialZip as a library in `Cargo.toml` by disabling default features to reduce binary size and avoid including the command-line interface. ```toml [dependencies] partialzip = { version = "x.y.z", default-features = false } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.