Renaming Parent Directory?

A swapping-ground for Regular Expression syntax

Renaming Parent Directory?

Postby kdlklm » Wed Jan 18, 2012 6:08 pm

I'm trying to use a command line to rename the parent directory, or specific selected directory.

Code: Select all
C:\temp\rename\BRC32.exe /DIR:"C:\Movies\" /REGEXP:"(.+)(\d\d\d\d)":"\1(\2)" /REPLACECI:"((":"(" /EXECUTE


I want to be able to rename a specific folder as follows

From:
The Dark Knight Rises Prologue 2011 CAM NEWSRC XViD SIC

To:
The Dark Knight Rises Prologue (2011)

there are several directories under the same folder, but I only want to rename one.
kdlklm
 
Posts: 1
Joined: Wed Jan 18, 2012 6:03 pm

Return to Regular Expressions


cron