
F2
F2 batch-renames files and directories through a cross-platform command-line tool written in Go.

About F2
F2 is a free, open source command-line tool for renaming many files and directories at once. It is written in Go and is described by its project as cross-platform. Renaming runs as a dry run by default, so the proposed changes can be reviewed before they are applied.
F2 supports simple string replacements and regular expressions. It can use file attributes, such as EXIF data for images and ID3 tags for audio files, in the new names. Each rename is checked for conflicts before it runs, and detected conflicts can be resolved automatically. Any rename operation can be undone. Go developers can install it with go install, which requires Go 1.23 or later. Pre-compiled binaries for several operating systems are available from the project's releases page.
Key features
- Dry run by default, so changes can be reviewed before they are applied
- Variables from file attributes such as EXIF image data and ID3 audio tags
- Simple string replacement and regular expression renaming
- Pre-execution conflict checks, with optional automatic conflict resolution
- Undo for renaming operations
- Installation through go install or pre-compiled binaries
- Runs as a dry run by default, so proposed changes can be reviewed before they are applied
- Renaming operations can be undone
- Open source and released under the MIT License
- Installing with go install requires Go 1.23 or later
- It is a command-line tool and has no graphical interface described in the source
F2 at a glance
- Website
- github.com/ayoisaiah/f2
- Category
- Software & Utilities › File Utilities
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for File Utilities

F2 alternatives
Tools and sites you could use instead, ranked by how closely they match.
Browse and print file contents with bat, a command-line cat alternative documented in this repository.
Blazing fast terminal file manager written in Rust, based on async I/O.
mat2 removes metadata from commonly used file formats and is written in Python, according to its repository description.
fd provides a simple alternative to the find command, according to its project description.
SCP, SFTP, FTP, S3, SMB, and WebDAV transfers are supported by termscp, a terminal file utility.
fselect finds files using SQL-like queries, according to its project description.
Popular in File Utilities
Well-known listings from the same topic.
F2 FAQ
Under what license is F2 released?
How can I install F2?
How do I report a bug or request a feature?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












