Skip to content

GotoHack/partial-zip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

partial-zip

Using curl's partial downloading feature to retrieve selected portions of ZIP files.

Usage

./partialzip <ZipURL> <RemotePath> [<outfile>] [sizeToDownload]

Examples

./partialzip "http://apple.com/iPhone4,1_6.1_10B142_Restore.ipsw" 038-5307-151.dmg RootFS.dmg 1024
./partialzip "http://apple.com/iPod4,1_5.1.1_9B206_Restore.ipsw" "Firmware/dfu/iBSS.n81ap.RELEASE.dfu" iBSS.n81ap
./partialzip "http://ineal.me/randomarchive.zip" "img1.png" "/home/neal/Desktop/img1.png"

--

  • First example will only download 1024 bytes of 038-5307-151.dmg.
  • Requires libcurl and zlib.
  • Compile instructions: $ make

About

Using curl's partial downloading feature to retrieve selected portions of ZIP files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.9%
  • Makefile 3.1%