Wildcard in Batch Rename
Posted: 23 Jan 2016 21:14
Hi,
I have thousands of files that Windows backup modified to include a timestamp. I want to batch remove that timestamp on all files but the time and date vary so I need a wildcard expression.
Original: My File (2015_11_06 23_34_08 UTC).txt
Replacement: My File.txt
The data between the parenthesis varies but ALL strings start with "(20" and end with "UTC)"
I tried this: (20*UTC)/ but the asterisk is not accepted as a wildcard. Nor does it work if I substitute several question marks to represent the other characters.
How can I rename thousands of files to eliminate this datestamp?
Thanks in advance for any suggestions you can offer.
I have thousands of files that Windows backup modified to include a timestamp. I want to batch remove that timestamp on all files but the time and date vary so I need a wildcard expression.
Original: My File (2015_11_06 23_34_08 UTC).txt
Replacement: My File.txt
The data between the parenthesis varies but ALL strings start with "(20" and end with "UTC)"
I tried this: (20*UTC)/ but the asterisk is not accepted as a wildcard. Nor does it work if I substitute several question marks to represent the other characters.
How can I rename thousands of files to eliminate this datestamp?
Thanks in advance for any suggestions you can offer.