macOS
brew install f2local Homebrew formula metadata
brew
Command-line batch renaming tool. Version 2.2.2 via Homebrew; verified 2026-06-15.
install
brew install f2local Homebrew formula metadata
nix profile install nixpkgs#f2nixpkgs package indexes · pkgs/by-name/f2/f2/package.nix · source: api.github.com
scoop install main/f2Scoop official bucket manifest trees · bucket/f2.json · source: api.github.com
winget install --id ayoisaiah.f2 -eWindows Package Manager source index · ayoisaiah.f2 · source: cdn.winget.microsoft.com
overview
Command-line batch renaming tool
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
f2 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ayoisaiah/f2
install metadata
| Package key | brew:f2 |
|---|---|
| Version | 2.2.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/f2 |
| Homepage | https://f2.freshman.tech |
| Repository | https://github.com/ayoisaiah/f2 |
| Upstream docs | https://github.com/ayoisaiah/f2#readme |
| License | MIT |
| Source archive | https://github.com/ayoisaiah/f2/archive/refs/tags/v2.2.2.tar.gz |
| Last updated | 2026-06-15T10:20:16-04:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
f2
nix profile install nixpkgs#f2main/f2
scoop install main/f2ayoisaiah.f2
winget install --id ayoisaiah.f2 -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.