afsctool
« Back to VersTracker
Description:
Utility for manipulating APFS and ZFS compressed files
Type: Formula  |  Latest Version: 1.7.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: compression apfs zfs macos storage utility
Install: brew install afsctool
About:
afsctool is a command-line utility designed to manage compression on Apple File System (APFS) and ZFS volumes. It allows users to inspect, apply, and remove compression attributes on files and directories, helping to optimize storage space. The tool provides detailed reporting on compression ratios and savings, making it valuable for system administrators managing disk usage.
Key Features:
  • Apply and remove APFS and ZFS compression
  • Recursive directory processing
  • Detailed compression statistics and reporting
  • Support for setting compression levels
Use Cases:
  • Reducing storage footprint on macOS systems with large files
  • Auditing and optimizing existing compressed file archives
  • Automating storage cleanup in system administration scripts
Alternatives:
  • native macOS compression – Built-in `afsc` tool offers basic compression but lacks detailed reporting and ZFS support
  • zfs command – Native ZFS utilities handle ZFS compression but do not support APFS
License: GPL-3.0-only AND BSL-1.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey
Version History
Detected Version Rev Change Commit
Sep 13, 2025 3:02pm 0 VERSION_BUMP 85348319
Dec 22, 2024 12:45am 0 VERSION_BUMP 8c109e62
Nov 14, 2024 5:20pm 0 VERSION_BUMP b4f3a9e2