Favicon of f2

f2

Cross-platform command-line tool for fast, safe batch renaming with dry-run defaults, regex support, variable substitution, and undo functionality.

F2 is a powerful command-line tool that makes batch renaming files and directories quick, safe, and flexible. Built with Go for exceptional performance, it handles everything from simple string replacements to complex regular expressions with ease.

Key capabilities include:

  • Dry-run by default — Preview all changes before committing to ensure accuracy
  • Variable support — Leverage file attributes like EXIF data for images and ID3 tags for audio to create intelligent renaming patterns
  • Conflict detection — Automatic validation catches naming conflicts before they happen, with built-in resolution options
  • Undo functionality — Easily revert any renaming operation if mistakes occur
  • High performance — Process thousands of files simultaneously without slowdown
  • Flexible renaming — Support for string replacements, regular expressions, CSV-based renaming, and file pair operations
  • Cross-platform — Works seamlessly on Windows, macOS, and Linux

Whether organizing photo libraries by EXIF metadata, renaming media files with ID3 tags, or performing bulk string replacements across directories, F2 provides the precision and safety needed for confident batch operations. Comprehensive documentation and practical examples help you master its full potential.

Install

Go
$ go install github.com/ayoisaiah/f2/v2/cmd/f2@latest

Features

Scriptable

Media

Pros

4
  • Dry run mode prevents accidental changes
  • Supports undoing renaming operations
  • Handles complex renaming with regex and variables
  • Fast and efficient for large batches of files

Related tools

Categories:

Share:

Auto-fetched .

Recent releases

Similar to f2

Favicon

 

  
 
Favicon

 

  
 
Favicon