Pages

Sunday, May 28, 2023

Windows Rename Multiple Files and Folders with Regex - Powerrename Alternative

PowerRename is a new tool that allows you a bulk rename and modify a large number of filenames. It's part of the Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. 

However, PowerRename does not work for Windows 7 so I was on a quest to find a tool that was open source and could work on Windows 7 and above.

Solution To Rename Files and Folders on Windows

Métamorphose File and Folder Renamer is open source and supports regular expressions. This is written in python and is incredibly fast. Runs on Windows 7 and up. 

In example below, we are choosing DIR (for directories to be renamed) and
regular expression : \s|_|\. to remove spaces, underscores and periods from folder names.



Install

https://sourceforge.net/projects/file-folder-ren/ 

Use download button and unzip into a folder, run metamorphose.exe. Ignore the errors.  The installer is broken. 

Open Source

https://github.com/metamorphose

Enhancement Request

Enhancement request to enable regex matched groups such as $1, to be used in the "Replacement with (blank to delete)" field as a replacement value. 

Change Request - Enable Regex Groups in the replacement / rename field · Issue #8 · timinaust/metamorphose2 (github.com)


Update - Better Choice
Metadata Consulting [dot] ca: Windows Rename Multiple Files and Folders with Regex - Alternative

No comments:

Post a Comment