macOS
brew install bfslocal Homebrew formula metadata
sudo port install bfsMacPorts ports tree · sysutils/bfs/Portfile · ソース: api.github.com
brew
bfs のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install bfslocal Homebrew formula metadata
sudo port install bfsMacPorts ports tree · sysutils/bfs/Portfile · ソース: api.github.com
sudo apk add bfsAlpine Linux edge package indexes · bfs · ソース: dl-cdn.alpinelinux.org
sudo dnf install bfsFedora Rawhide package metadata · bfs · ソース: dl.fedoraproject.org
nix profile install nixpkgs#bfsnixpkgs package indexes · pkgs/by-name/bf/bfs/package.nix · ソース: api.github.com
sudo pacman -S bfsArch Linux sync databases · bfs · ソース: geo.mirror.pkgbuild.com
概要
Breadth-first version of find
履歴
bfs is a C implementation of a breadth-first variant of the Unix find command. It aims to remain compatible with POSIX, GNU, BSD, and macOS find behavior while adding a friendlier command-line parser, diagnostics, and practical extensions.
The official repository was created in June 2015. Early tags show a pre-1.0 series before the project reached 1.0 in 2017, followed by 2.0 in October 2020, 3.0 in July 2023, 4.0 in August 2024, and active 4.1.x maintenance through June 2026.
The README documents the core design choice: unlike traditional depth-first find traversal, bfs lists shallower paths first. Around that foundation it adds compatibility with several find dialects, argument-order leniency, typo suggestions, expression warnings, and convenience extensions such as -exclude and -nohidden.
bfs has unusually broad packaging for a small Unix utility. Its README lists packages for Alpine, Arch, Debian/Ubuntu, Fedora, Gentoo, Guix, macOS, and other systems, and the input separately records Homebrew, MacPorts, Nix, pacman, zypper, Debian, Ubuntu, and Alpine packaging.
That packaging footprint reflects the niche: bfs is not a replacement for every find use, but it is attractive to users who want familiar find syntax with better traversal behavior, diagnostics, and cross-platform consistency.
Users run bfs much like find: searching directory trees by name, type, size, metadata, predicates, and actions. Its breadth-first order can surface shallow matches earlier, and its parser accepts common argument placements that traditional find variants reject.
The tool is also useful in scripts when its extensions matter, but its package value is strongest for interactive shell use where friendlier errors and faster discovery of shallow matches save time.
bfs is notable to package-focused users because it reimagines one of Unix's oldest daily-driver commands without throwing away compatibility. That makes it a rare modern system utility that can be installed next to the base tool and immediately compared on real workflows.
Its significance is not just breadth-first search. The interesting packaging story is a small, carefully maintained C utility earning broad distro adoption by being faster to understand than find, stricter about warning users when expressions are probably wrong, and portable enough to ship across Linux and macOS ecosystems.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bfs | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/tavianator/bfs
インストールメタデータ
| パッケージキー | brew:bfs |
|---|---|
| バージョン | 4.1.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/bfs |
| ホームページ | https://tavianator.com/projects/bfs.html |
| リポジトリ | https://github.com/tavianator/bfs |
| 上流ドキュメント | https://tavianator.com/projects/bfs.html |
| ライセンス | 0BSD |
| ソースアーカイブ | https://github.com/tavianator/bfs/archive/refs/tags/4.1.4.tar.gz |
| 最終更新 | 2026-06-29T20:47:31Z |
| Pulse | updated |
| 依存関係 | oniguruma |
| ビルド依存関係 | pkgconf |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bfs |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
bfs 4.0.6-1
Breadth-first version of find(1)
https://github.com/tavianator/bfs
sudo apt install bfsbfs
nix profile install nixpkgs#bfsbfs 3.1.2-1build1
Breadth-first version of find(1)
https://github.com/tavianator/bfs
sudo apt install bfsbfs 4.1-r1
Breadth-first variant of the UNIX find command
https://github.com/tavianator/bfs
sudo apk add bfsbfs-bash-completion 4.1-r1
Bash completions for bfs
https://github.com/tavianator/bfs
sudo apk add bfs-bash-completionbfs-doc 4.1-r1
Breadth-first variant of the UNIX find command (documentation)
https://github.com/tavianator/bfs
sudo apk add bfs-docbfs-fish-completion 4.1-r1
Fish completions for bfs
https://github.com/tavianator/bfs
sudo apk add bfs-fish-completionbfs-zsh-completion 4.1-r1
Zsh completions for bfs
https://github.com/tavianator/bfs
sudo apk add bfs-zsh-completionbfs 4.1.2-1.fc45
A breadth-first version of the UNIX find command
https://tavianator.com/projects/bfs.html
sudo dnf install bfsbfs 4.1.2-1
A breadth-first version of find
https://tavianator.com/projects/bfs.html
sudo pacman -S bfsbfs
sudo port install bfsソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.