Monday, May 29, 2023

Windows Rename Multiple Files and Folders with Regex - 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 on Windows  7, so I was on a quest to find a tool that was open source and could work on Windows 7 and above.

Top Solution To Rename Files and Folders on Windows

StExBar: The ultimate tool for Windows Explorer is open source and fully supports regular expressions with replacements. This is written in C and is incredibly fast. Runs on Windows 7 and up. Stefans Tools is well maintained and been around for years. See my post on the best regex tester application, it will blow you away. 

In image below, we are using regular expression: 

(\d*)_(.*)

to rename folders from 100_Project to 100Project (removing underscore), 

with replacement groups: $1$2




Install

Download and install x64 bit of StExBar - Stefans Tools (stefankueng.com)

Goto View->Toolbars->StExBar to show Stephan's Explorer Bar 

Open Source

https://github.com/stefankueng/tools/tree/main


No comments:

Post a Comment