☰ Menu
CLI Open source 13 installs/mo

f2 for Mac

f2

Command-line batch renaming tool

f2 — overview

Read this in other languages: Deutsch | Español | Français | Português | Русский | 繁體中文

F2 - Command-Line Batch Renaming

F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely. Written in Go!

What does F2 do differently?

Compared to other renaming tools, F2 offers several key advantages: Dry Run by Default: It defaults to a dry run so that you can review the renaming changes before proceeding. Variable Support: F2 allows you to use file attributes, such as EXIF data for images or ID3 tags for audio files, to give you maximum flexibility in renaming. Comprehensive Options: Whether it's simple string replacements or complex regular expressions, F2 provides a full range of renaming capabilities. Safety First: It prioritizes accuracy by ensuring every renaming operation is conflict-free and error-proof through rigorous checks. Conflict Resolution: Each renaming operation is validated before execution and detected conflicts can be automatically resolved. High Performance: F2 is extremely fast and efficient, even when renaming thousands of files at once. Undo Functionality: Any renaming operation can be easily undone to allow the easy correction of mistakes. Extensive Documentation: F2 is well-documented with clear, practical examples to help you make the most of its features without confusion.

⚡ Installation

If you're a Go developer, F2 can be installed with go install (requires v1.23 or later):

Other installation methods are documented here or check out the releases page to download a pre-compiled binary for your operating system.

? Quick links Installation Getting started tutorial Real-world example Built-in variables File pair renaming Renaming with a CSV file Sorting Resolving conflicts Undoing renaming mistakes CHANGELOG

? Screenshots

? Contribute

Bug reports and feature requests are much welcome! Please open an issue before creating a pull request.

⚖ Licence

Created by Ayooluwa Isaiah and released under the terms of the MIT Licence.

Details

命令行批量重命名工具

How to install f2

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2025-11-10; current version v2.2.2, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v2.2.22025-11-10Stable5.1 MBDownloadDownloadDownload
v2.2.12025-09-14Stable5.1 MBDownloadDownloadDownload
v2.2.02025-09-08Stable5.1 MBDownloadDownloadDownload
v2.1.22025-05-27Stable4.5 MBDownloadDownloadDownload
v2.1.12025-05-16Stable4.5 MBDownloadDownloadDownload
v2.1.02025-05-01Stable2.4 MBDownloadDownloadDownload
v2.0.32024-11-23Stable2.3 MBDownloadDownloadDownload
v2.0.22024-11-22Stable2.3 MBDownloadDownloadDownload
v2.0.12024-11-06Stable2.3 MBDownloadDownloadDownload
nightly2026-11-10Pre-release5.7 MBDownloadDownloadDownload

Data from GitHub Releases; stable releases first, each group sorted newest first.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
f2v2.2.2MITCLI13
renameutils0.12.0GPL-3.0-or-laterCLI12
volcano-cliv1.15.4Apache-2.0CLI5
task-spooler1.0.4GPL-2.0-onlyCLI15

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…