Massren for fast file renaming

Status
Live
Title
Massren for fast file renaming
Date
11 Sep, 2020 ⸱
Excerpt
My tool of choice for bulk file-renaming has become Massren:
Published
Sep 11, 2020
Tags
workflows
Feature on homepage
My tool of choice for bulk file-renaming has become* Massren:
*As opposed to, say, GUI clients.
Massren is a command line tool that can be used to rename multiple files using your own text editor. Multiple-rename tools are usually difficult to use from the command line since any regular expression needs to be escaped, and each tool uses its own syntax and flavor of regex. The advantage of massren is that you are using the text editor you use every day, and so you can use all the features you are already used to.
Simply navigate to the directory in which your files are and invoke massren. You can easily set it up to use your favorite text editor, so for example, I have mine configured to use VSCode:
massren --config editor code
If you have a text editor you are comfortable with, then this can lead to all kinds of interesting possibilities, especially when combined with regular expression search.
Using Massren, VS Code, and regex for bulk file renaming.
Using Massren, VS Code, and regex for bulk file renaming.
This workflow is especially convenient in combination with an Alfred wokflow to open the current Finder directory in the terminal, such as this one.