HatchZip extracts archives while truncating them to save disk space
HatchZip 0.1.3, which drew 1,692 GitHub stars in its first week, extracts ZIP archives from the end and truncates finished parts, so peak disk use is the output plus the largest batch. In a test with an 839 MB archive of 40 random 20 MiB files, peak usage was 839 MB versus 1,678 MB for unzip, but the saving only kicks in when free space is scarce.
- Peak disk use: 839 MB versus 1,678 MB for unzip, extraction in 8.7 s
- Batches are capped at 512 units and 2 GB, with truncation at commit
- On low space it stops with a journal and resumes with the same command
- For a single file ≥512 MiB it punches holes every 256 MiB of output
Read next
Software