macOS
brew install f2local Homebrew formula metadata
brew
f2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install f2local Homebrew formula metadata
nix profile install nixpkgs#f2nixpkgs package indexes · pkgs/by-name/f2/f2/package.nix · ソース: api.github.com
scoop install main/f2Scoop official bucket manifest trees · bucket/f2.json · ソース: api.github.com
winget install --id ayoisaiah.f2 -eWindows Package Manager source index · ayoisaiah.f2 · ソース: cdn.winget.microsoft.com
概要
Command-line batch renaming tool
履歴
F2 is a cross-platform Go CLI for batch-renaming files and directories with a safety-first workflow built around dry runs, conflict detection, undo support, and rich replacement variables.
The GitHub repository was created in 2020, and the changelog lists version 0.1.0 on May 24, 2020 as the initial release. Version 1.0.0 followed on February 22, 2021 with regex filtering, capture groups, dry-run-by-default behavior, conflict detection, recursive renaming, ascending integer replacements, and undo from a map file.
The project evolved from basic batch replacement into a broader renaming toolkit. Later changelog entries added date variables, EXIF and ID3 variables, file hashes, CSV-based renaming, simple mode, find expressions, timezone-aware date handling, and performance improvements.
F2 is packaged for Homebrew, Nix, Scoop, and winget in the input data, matching its cross-platform pitch. Its adoption path is typical for Go CLIs: single executable, prebuilt releases, and enough safety affordances to be trusted for destructive filesystem operations.
F2 is used for command-line batch renames where shell loops become risky or unreadable: regex replacements, capture-group rewrites, recursive directory changes, media-library organization using EXIF or ID3 metadata, CSV-driven rename maps, conflict resolution, and undoing completed operations.
The official docs emphasize that F2 defaults to a preview workflow. Users review the proposed changes before executing them, which is the main practical distinction between F2 and a quick `rename`, `mv`, or shell one-liner.
F2 is significant as a polished example of a modern single-purpose Go CLI: prebuilt, cross-platform, heavily documented, and careful around filesystem danger. Package maintainers get one binary with no daemon, service file, or runtime configuration to shepherd.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
f2 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/ayoisaiah/f2
インストールメタデータ
| パッケージキー | brew:f2 |
|---|---|
| バージョン | 2.2.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/f2 |
| ホームページ | https://f2.freshman.tech |
| リポジトリ | https://github.com/ayoisaiah/f2 |
| 上流ドキュメント | https://github.com/ayoisaiah/f2#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/ayoisaiah/f2/archive/refs/tags/v2.2.2.tar.gz |
| 最終更新 | 2026-06-15T10:20:16-04:00 |
| Pulse | updated |
| ビルド依存関係 | go |
| 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 | f2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
f2
nix profile install nixpkgs#f2main/f2
scoop install main/f2ayoisaiah.f2
winget install --id ayoisaiah.f2 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.