Batch Renamers

F2 – command-line batch renaming tool

F2 is a command-line tool for renaming files and directories in batches. It handles operations ranging from straightforward filename substitutions to transformations involving numbered sequences, regular expressions and file metadata. It is particularly useful when organising large collections of files that need consistent names without manually processing each item.

The program separates the proposed changes from their execution, allowing users to inspect the outcome before modifying the filesystem. It also considers the relationships between source and destination paths, which matters when multiple files could otherwise receive conflicting names. F2 can therefore handle complex renaming jobs that would require several shell commands or custom scripts.

This is free and open source software.

Key Features

  • Dry-run mode is enabled by default, showing proposed changes before they are applied.
  • Find and replace filename text using regular expressions and capture groups.
  • Insert prefixes, suffixes and text at specified positions within filenames.
  • Change letter case, remove unwanted characters and rearrange filename components.
  • Generate sequential numbers with configurable formatting and padding.
  • Use file attributes, image EXIF metadata and audio ID3 tags in replacement patterns.
  • Access additional metadata through integration with ExifTool.
  • Automatically identify and resolve filename collisions and other potential conflicts.
  • Chain multiple renaming transformations into a single operation.
  • Rename files and directories recursively, with options to limit which types are processed.
  • Rename files using mappings supplied through CSV files.
  • Exclude hidden files and directories by default.
  • Undo a previous batch renaming operation.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/ayoisaiah/f2
Support:
Developer: Ayooluwa Isaiah
License: MIT License

F2
Click image for full size

F2 is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Console Batch Renamers
RnRSecurely rename multiple files and directories
F2Command-line batch renaming tool. Fast and safe to use. It's written in Go
vimvMass rename files using Vim
massrenRename multiple files using a text editor
mmvRename multiple files with editor
nominoBatch rename utility for developers
renameRename multiple files using Perl expressions
brenameBatch renaming safely
temprenTemplate-based file renaming utility
edirUtility to rename, remove, and copy filenames and directories
vidirEdit of the contents of a directory in a text editor
renameutilsFive programs – qmv, qcp, imv, icp and deurlname
rename-cliRename files quickly
renTakes find-formatted lines via standard input, and batch renames them
renuxRegex, placeholders, and text transformations
mooveManipulate file names and locations
BrenBulk file renaming software
regnameMass renamer utility with a text user-interface
pipe-renameEdit filenames using your preferred text editor
RenamerFlexible and extensible through plugins
brn2Fork of brn
edmvBulk rename files using your preferred text editor

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted