f2
« Back to VersTracker
Description:
Command-line batch renaming tool
Type: Formula  |  Latest Version: 2.2.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: file-renaming cli batch-processing productivity developer-tools
Install: brew install f2
About:
F2 is a powerful command-line tool for batch renaming files and directories with support for recursive operations and complex patterns. It provides a robust set of features including find-and-replace, case conversion, and automatic conflict resolution. The tool offers a safety-first approach with a preview mode to verify changes before execution.
Key Features:
  • Find and replace with regex and literal matching
  • Recursive directory traversal with depth control
  • Interactive preview mode with conflict detection
  • Case conversion and numbering capabilities
  • Cross-platform support for Linux, macOS, and Windows
Use Cases:
  • Organizing large photo libraries by renaming files with consistent patterns
  • Standardizing project file names across codebases
  • Cleaning up downloaded files with automatic numbering and formatting
Alternatives:
  • mmv – mmv is older and lacks interactive preview features
  • rename – rename uses Perl expressions but has less intuitive syntax
  • qmv – qmv requires GUI but offers visual editing workflow
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Nov 10, 2025 7:56pm 0 VERSION_BUMP bebe7d88
Oct 10, 2025 1:06pm 0 VERSION_BUMP db36872b
Sep 14, 2025 6:41pm 0 VERSION_BUMP 307080aa
Sep 13, 2025 2:49pm 0 VERSION_BUMP 7ac54e8d
Nov 2, 2024 10:03pm 0 VERSION_BUMP 80ff2627
Nov 2, 2024 9:30pm 0 VERSION_BUMP 2534862f
Sep 13, 2024 4:11am 0 VERSION_BUMP 060500a1