F2
A cross-platform command-line tool for batch renaming files and directories, with dry runs and undo.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get F2
Package managers
- Homebrew
brew install f2
About F2
F2 renames many files and directories in one command, from simple string replacements to full regular expressions. It runs as a dry run by default, so you see every proposed change before anything happens. Each operation is checked for conflicts first, and detected conflicts can be resolved automatically.
Names can be built from file attributes such as EXIF data in photos or ID3 tags in audio files. Any rename can be undone afterwards. F2 is written in Go and can be installed with go install or from the project's releases.
Strengths
- Dry run by default shows changes before applying them
- Undo for any rename operation
- Uses EXIF and ID3 metadata in new file names
- Detects and can resolve naming conflicts
Limitations
- Command line only, with no graphical interface
- Regular expression renames take some learning
Details
- Pricing
- FreeFree and open source under the MIT licence.
- License
- MIT
- Developer
- Ayooluwa Isaiah
- Platforms
- Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Renaming large sets of photos, music or other files from the terminal without mistakes
- Categories
- System utilities, CLI tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 2 sources on file.
Alternatives to F2
Compare allSoftware that can replace F2 for an important use case, and what changes if you switch.
RnR
A command-line tool that batch renames files and directories using regular expressions.
RnR also renames in batches with regex, dry runs by default and undo through dump files, but it does not advertise EXIF or ID3 metadata in new names.
F2 as an alternative
Listings that name F2 as an alternative.
Bulk Rename Utility
Renames large numbers of files and folders at once on Windows.
F2 is an MIT-licensed command-line renamer that runs cross-platform, with dry runs by default, undo and EXIF and ID3 metadata, but no graphical interface.
Similar software
Related functionality, not necessarily a direct replacement.
fd
Finds files by name without the argument soup that find requires, and it is much faster.
fselect
A command-line tool for finding files with a relaxed SQL-like query syntax.
sd
Replace text with a focused command-line tool.
fclones
A command-line tool that finds groups of identical files and removes the copies you no longer need.