ArshaBRU wrote:Hi
I’d like to rename files with the pattern like
“03. Knockin' On Heaven's Door.wma.mp3†to
“03. Knockin' On Heaven's Door.mp3â€.
Roughly speaking I need to remove files’ previous extension. All files have extension '.mp3', other parts may vary.
What would be the proper regular expression?
I prefer using command prompt and working with all files and subdirectories.
If you can provide me the command line arguments I would be doubly thankful!
Regards
You can use
two times
Extension(11) [Remove]followed by one time
Extension(11) [Extra][mp3]or use
Remove(5) Last n [ 4]or one time
Repl.(3)Replace:
".wma"With:
""(OK, not for you "other parts may vary.")
or
RegEx(1)Match:
(.+)\.wmaRepla:
\1OK, not for you "other parts may vary.". So use instead:
Match:
(.+)\....$Repla:
\1You can check
[X]Subfolders at
Selections(12)For command line use you can check out BRC:
E:\a\Renamers\BulkRenameUtilitie\own\BRC tests>..\..\
brc /removelastn:4 /Pattern:"*.mp3"Processing Folder E:\a\Renamers\BulkRenameUtilitie\own\BRC tests\
Filename 03. Knockin' On Heaven's Door.wma.mp3 would be renamed to 03. Knockin' On Heaven's Door.mp3
Filename 03. Knockin' On TWO Extensions.wma.mp3 would be renamed to 03. Knockin' On TWO Extensions.mp3Check out the help for more.
.