macOS
brew install afsctoollocal Homebrew formula metadata
sudo port install afsctoolMacPorts ports tree · sysutils/afsctool/Portfile · source: api.github.com
brew
Utility for manipulating APFS and ZFS compressed files. Version 1.7.3 via Homebrew; verified 2026-07-02.
install
brew install afsctoollocal Homebrew formula metadata
sudo port install afsctoolMacPorts ports tree · sysutils/afsctool/Portfile · source: api.github.com
nix profile install nixpkgs#afsctoolnixpkgs package indexes · pkgs/by-name/af/afsctool/package.nix · source: api.github.com
overview
Utility for manipulating APFS and ZFS compressed files
history
afsctool is a command-line utility for applying, removing, and inspecting Apple filesystem compression. The original brkirch page describes it as an AFSC tool for HFS+ compression on Mac OS X 10.6 or later; the packaged RJVB fork extends that lineage with APFS-related work and a companion zfsctool.
The original afsctool was published by brkirch as a Mac OS X utility for HFS+ compression. The RJVB repository identifies itself as a modified version of brkirch's afsctool and documents changes around error reporting, large-file memory pressure, multiple file arguments, backups, read-only files, and parallel compression.
The RJVB fork became the source used by modern package managers. Its README records versioned feature work in the 1.6 and 1.7 series, including parallel compression options, additional compression types introduced by Apple in OS X 10.9 and later, LZVN support, and later LZFSE support.
afsctool is narrow but useful enough to appear in macOS-oriented package sets: the supplied facts list Homebrew, MacPorts, and Nix. That adoption tracks its niche: users who need to inspect or recompress files with Apple filesystem compression from scripts rather than through Finder or filesystem internals.
The RJVB fork also documents package-manager build dependencies and gives Homebrew and MacPorts examples, which helps explain why downstream formulae can build it despite the tool's macOS-specific subject matter.
Typical usage is post-hoc compression or inspection of files and folders already on a supported filesystem. The RJVB fork adds options for parallel compression, sorting work items by size, and changing compression types when the operating system and linked libraries support them.
zfsctool, built from the same repository, adapts the afsctool idea to ZFS recompression statistics and experiments. The README is explicit that zfsctool is still a work in progress, so package users should treat afsctool as the primary stable executable.
afsctool is a classic small system package: obscure until you need it, highly platform-specific, and tightly bound to filesystem behavior and Apple compression formats. It is interesting to package maintainers because its dependency story and feature set move with macOS filesystem APIs and compression libraries.
The Homebrew formula exposes the RJVB fork rather than only the older brkirch page, so curation needs both sources: the original homepage explains the tool's purpose, while the repository explains the maintained code users actually install.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
afsctool | cli | global executable | |
zfsctool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/RJVB/afsctool
install metadata
| Package key | brew:afsctool |
|---|---|
| Version | 1.7.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/afsctool |
| Homepage | https://brkirch.wordpress.com/afsctool/ |
| Repository | https://github.com/RJVB/afsctool |
| Upstream docs | https://brkirch.wordpress.com/afsctool |
| License | GPL-3.0-only AND BSL-1.0 |
| Source archive | https://github.com/RJVB/afsctool/archive/refs/tags/v1.7.3.tar.gz |
| Last updated | 2026-07-02T11:12:14-04:00 |
| Pulse | updated |
| Build dependencies | cmake, google-sparsehash, pkgconf |
| Bottle | available (on arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | afsctool |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
afsctool
nix profile install nixpkgs#afsctoolafsctool
sudo port install afsctoolsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.