Bren is a command-line utility for renaming groups of files according to a common naming scheme. It is designed for operations where several files need to receive related names, such as a collection of photographs that should share a descriptive basename and a distinguishing number.
The program can generate destination names using a supplied basename, information derived from file modification times or randomly generated identifiers. It also provides controls for processing directory trees and removing filename extensions.
Bren includes an optional scripting mechanism based on GNU Guile. This allows a script to be executed after each file has been renamed, providing a way to perform additional processing as part of a batch operation. The basic renaming functionality does not require scripting, so the program can also be used for straightforward filename changes.
This is free and open source software.
Key Features
- Rename multiple files within a selected directory.
- Apply a shared basename to files while generating distinguishing identifiers.
- Generate sequentially numbered filenames based on the supplied basename.
- Preserve original filename extensions during ordinary basename replacement.
- Remove filename extensions when requested.
- Generate random identifiers containing eight characters.
- Use file modification dates as filename identifiers.
- Traverse subdirectories when processing a directory tree.
- Limit operations to the specified directory without descending into subdirectories.
- Preview planned changes using dry-run mode.
- Execute a GNU Guile script after each completed rename operation.
- Pass the path of each renamed file to the scripting callback.
- Provide command-line options for selecting directories, naming rules and scripting behaviour.
Website: github.com/nrosvall/bren
Support:
Developer: Niko Rosvall
License: GNU General Public License v3.0
Bren is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Console Batch Renamers | |
|---|---|
| RnR | Securely rename multiple files and directories |
| F2 | Command-line batch renaming tool. Fast and safe to use. It's written in Go |
| vimv | Mass rename files using Vim |
| massren | Rename multiple files using a text editor |
| mmv | Rename multiple files with editor |
| nomino | Batch rename utility for developers |
| rename | Rename multiple files using Perl expressions |
| brename | Batch renaming safely |
| tempren | Template-based file renaming utility |
| edir | Utility to rename, remove, and copy filenames and directories |
| vidir | Edit of the contents of a directory in a text editor |
| renameutils | Five programs – qmv, qcp, imv, icp and deurlname |
| rename-cli | Rename files quickly |
| ren | Takes find-formatted lines via standard input, and batch renames them |
| renux | Regex, placeholders, and text transformations |
| moove | Manipulate file names and locations |
| Bren | Bulk file renaming software |
| regname | Mass renamer utility with a text user-interface |
| pipe-rename | Edit filenames using your preferred text editor |
| Renamer | Flexible and extensible through plugins |
| brn2 | Fork of brn |
| edmv | Bulk rename files using your preferred text editor |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.