Files

massren – batch rename files using a text editor

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 help

massren 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