# Installer afsctool avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de afsctool pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:afsctool
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install afsctool
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install afsctool
```

  Preuve: MacPorts ports tree: sysutils/afsctool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#afsctool
```

  Preuve: nixpkgs package indexes: pkgs/by-name/af/afsctool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:afsctool
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/afsctool>
- **Version:** 1.7.3
- **Résumé source:** Utility for manipulating APFS and ZFS compressed files
- **Page d'accueil:** <https://brkirch.wordpress.com/afsctool/>
- **Dépôt:** <https://github.com/RJVB/afsctool>
- **Docs amont:** <https://brkirch.wordpress.com/afsctool>
- **Licence:** GPL-3.0-only AND BSL-1.0
- **Archive source:** <https://github.com/RJVB/afsctool/archive/refs/tags/v1.7.3.tar.gz>
- **Dernière mise à jour:** 2026-07-02T11:12:14-04:00
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

- afsctool (cli)
- zfsctool (cli)
- afsctool (alias)
- zfsctool (alias)

## Dépendances de compilation

- cmake
- google-sparsehash
- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 1.7.3
- gestionnaire mis à jour: 2026-07-02
- données locales: OK
- dépôt amont: https://github.com/RJVB/afsctool
- dernière version détectée: v1.7.3 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://api.github.com/repos/RJVB/afsctool>
- <https://brkirch.wordpress.com/afsctool/>
- <https://github.com/RJVB/afsctool#readme>
- source_facts.package-manager


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** afsctool
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - afsctool: normalized package name match | nixpkgs package indexes: pkgs/by-name/af/afsctool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - afsctool: normalized package name match | MacPorts ports tree: sysutils/afsctool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/fr/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/fr/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [acl](https://www.automicvault.com/fr/pkg/brew/acl/) - Shares av.db curated category or tags: cli, filesystem, system.
- [afuse](https://www.automicvault.com/fr/pkg/brew/afuse/) - Shares av.db curated category or tags: cli, filesystem, system.
- [attr](https://www.automicvault.com/fr/pkg/brew/attr/) - Shares av.db curated category or tags: cli, filesystem, system.
- [avfs](https://www.automicvault.com/fr/pkg/brew/avfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [bindfs](https://www.automicvault.com/fr/pkg/brew/bindfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [convmv](https://www.automicvault.com/fr/pkg/brew/convmv/) - Shares av.db curated category or tags: cli, filesystem, system.
- [cpmtools](https://www.automicvault.com/fr/pkg/brew/cpmtools/) - Shares av.db curated category or tags: cli, filesystem, system.
- [dfc](https://www.automicvault.com/fr/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, filesystem, system.
- [dar](https://www.automicvault.com/fr/pkg/brew/dar/) - Local package facts share a topical domain. Shared terms: cli, compression, files, filesystem, system.
- [duff](https://www.automicvault.com/fr/pkg/brew/duff/) - Local package facts share a topical domain. Shared terms: cli, files, filesystem, system.
- [rdfind](https://www.automicvault.com/fr/pkg/brew/rdfind/) - Local package facts share a topical domain. Shared terms: cli, files, filesystem, system.

## Combined YAML source

View the package source record on GitHub. [combined/afsctool.yml](https://github.com/automic-vault/db/blob/main/combined/afsctool.yml)


## Sources

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