Automic VaultAutomic Vault

brew

f2 を Homebrew, Nix, scoop, winget でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install f2

local Homebrew formula metadata

Linux

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

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

Windows

Scoop確認済み · 92%
scoop install main/f2

Scoop official bucket manifest trees · bucket/f2.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id ayoisaiah.f2 -e

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

タイムライン

  • 2020: Repository created and 0.1.0 initial release published.
  • 2021: 1.0.0 release adds regex filtering, dry-run-by-default behavior, conflict detection, recursive renaming, and undo.
  • 2021: 1.7.0 adds CSV support and platform-aware backup locations.
  • 2022: 1.8.0 adds simple mode and opt-in update notification.
  • 2025: 2.2.x releases add find expressions, date token conveniences, timezone support, and targeted replacement improvements.

Related projects

  • Traditional Unix tools such as `mv`, shell loops, and `rename` cover smaller renaming jobs but do not provide F2's preview, conflict, metadata-variable, and undo workflow.
  • ExifTool is relevant to F2 usage because F2 can use metadata-oriented variables for photo and media renaming workflows.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版2.2.2
マネージャ更新日2026-06-15
ローカルデータOK
上流最新
検出された最新v2.2.2

https://github.com/ayoisaiah/f2

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

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

f2

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

main/f2

scoop install main/f2
  • normalized package name match
  • 一致条件: F2
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/f2.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

ayoisaiah.f2

winget install --id ayoisaiah.f2 -e
  • normalized package name match
  • 一致条件: F2
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: ayoisaiah.f2 from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

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

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

Combined YAML source

View the package source record on GitHub.

combined/f2.yml

使用ソース

  • 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