massren is a command-line utility that allows users to rename multiple files using their preferred text editor. Rather than requiring a dedicated renaming language, it presents filenames as editable text. Users can then apply the search, replacement, selection and other editing capabilities already available in their editor.
The program creates a temporary list containing the filenames to be processed and opens it for editing. Once the modified list has been saved, massren compares the original and replacement names and performs the corresponding filesystem operations. Unchanged entries are left alone. This approach is particularly convenient for complicated renaming jobs where the desired changes are easier to express using familiar editing commands than through shell expressions.
This is free and open source software.
Key Features
- Rename multiple files using an external text editor, including Vim, Emacs and other editors.
- Present filenames in a temporary editable document.
- Process only filenames that have been changed in the edited list.
- Use the editor’s own search, replacement and multiple-line editing functionality.
- Move files into subdirectories by including destination paths in the edited filenames.
- Dry-run mode previews the result without changing files.
- Undo previously completed renaming operations.
- Detect changes to files made by another process while the editing session is open.
- Cancel operations when the number of filename entries changes unexpectedly.
- Perform checks intended to prevent accidental or conflicting renames.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/laurent22/massren
Support:
Developer: Laurent Cozic
License: MIT License

massren is written in Go. Learn Go 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.