Automic VaultAutomic Vault

brew

afsctool を Homebrew, MacPorts, Nix でインストール

afsctool のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install afsctool

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install afsctool

MacPorts ports tree · sysutils/afsctool/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#afsctool

nixpkgs package indexes · pkgs/by-name/af/afsctool/package.nix · ソース: api.github.com

概要

パッケージ概要

Utility for manipulating APFS and ZFS compressed files

コマンドとエイリアス

  • afsctool
  • zfsctool

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2012: brkirch afsctool page published for the original AFSC utility.
  • 2015: RJVB afsctool GitHub repository created.
  • 2018: RJVB 1.6.9 release commit added size sorting and reverse-worker options for parallel mode.
  • 2024: RJVB repository still receiving updates according to GitHub metadata.

Related projects

  • Apple HFS+ and APFS filesystem compression are the core operating-system features afsctool manipulates.
  • RJVB's LZVN fork and the lzfse/lzfse reference implementation are mentioned by the README as compression-library dependencies in the 1.7 series.
  • zfsctool is the same repository's experimental ZFS-oriented companion utility.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:compress

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
afsctoolcliグローバル実行可能ファイル
zfsctoolcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版1.7.3
マネージャ更新日2026-07-02
ローカルデータOK
上流最新
検出された最新v1.7.3

https://github.com/RJVB/afsctool

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:afsctool
バージョン1.7.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/afsctool
ホームページhttps://brkirch.wordpress.com/afsctool/
リポジトリhttps://github.com/RJVB/afsctool
上流ドキュメントhttps://brkirch.wordpress.com/afsctool
ライセンスGPL-3.0-only AND BSL-1.0
ソースアーカイブhttps://github.com/RJVB/afsctool/archive/refs/tags/v1.7.3.tar.gz
最終更新2026-07-02T11:12:14-04:00
Pulseupdated
ビルド依存関係cmake, google-sparsehash, pkgconf
Bottle利用可能 (対象 arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameafsctool
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

afsctool

nix profile install nixpkgs#afsctool
  • normalized package name match
  • 一致条件: Afsctool
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/af/afsctool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

afsctool

sudo port install afsctool
  • normalized package name match
  • 一致条件: Afsctool
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/afsctool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment