Files

brename – batch renaming safely

brename is a practical cross-platform command-line tool for safely batch renaming files/directories via regular expression.

This is free and open source software.

Key Features

  • Safe – it helps you check potential conflicts and errors before it’s too late.
  • Supports dry run – a good habit.
  • Supporting Undo the LAST successful operation, like a time machine.
  • Overwrite can be detected and users can choose whether overwrite or leave it (-o/--overwrite-mode).
  • File filtering.
  • Supporting including (-f/--include-filters) and excluding (-F/--exclude-filters) files via regular expression.
  • No need to run commands like find ./ -name “*.html” -exec CMD.
  • Renaming submatch with corresponding value via key-value file (-r “{kv}” -k kv.tsv).
  • Renaming via ascending integer (-r “{nr}”).
  • Automatically making directoy: e.g., renaming a-b-c.txt to a/b/c.txt.
  • Recursively renaming both files and directories.
  • Cross-platform support – runs under Linux, macOS, and Windows.

Website: github.com/shenwei356/brename
Support:
Developer: Wei Shen
License: MIT License

brename help

brename 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
brn2Fork of brn

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments