Operations 3 min read

baulk 2.0 Introduces Experimental untar and unzip Commands with Advanced ZIP Features

The Windows‑only baulk package manager version 2.0 adds experimental untar and unzip sub‑commands, detailing untar's support for various tar formats and unzip's robust baulk::archive::zip implementation that handles many compression methods, filename encoding detection, SIMD‑accelerated decompression, and strict path security.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
baulk 2.0 Introduces Experimental untar and unzip Commands with Advanced ZIP Features

baulk is a minimalist green package manager for Windows; version 2.0 adds two experimental sub‑commands, untar and unzip .

untar extracts tar, tar.xz, tar.gz, tar.bz2, tar.zst, tar.br and similar formats.

unzip extracts zip files using baulk::archive::zip .

baulk::archive::zip supports a comprehensive set of compression methods, including deflate, deflate64, zstd, bzip2, lzma, ppmd, which some other tools lack.

It uses Google’s Compact Encoding Detection to identify filename encodings in zip archives, converting non‑UTF‑8 names correctly.

It leverages Chromium’s optimized zlib with SIMD for fast decompression.

It performs strict path checks to prevent path‑traversal attacks.

During implementation, the author found libdeflate faster than most zlib optimizations, but it lacks Windows ARM64 support, so it was not integrated for small‑file zip decompression.

operationspackage managerwindowsarchivezipbaulkuntar
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.