I have a filename as follows
2018-01-07 20h46m 00 PTC - June 29th Live ###START###.png
The following rename internal command syntax successfully changes the date prefix in the file:
rename PATTERN (201\d\-\d\d-\d\d)(.*)(\..*) TO "2018-01-08\2\3" REGEXP
Now I try and add the time (20h46m) as follows but this does not work:
rename PATTERN (201\d\-\d\d-\d\d \d\dh\d\dm)(.*)(\..*) TO "\2\3" REGEXP
What am I doing wrong?
There is one space between the date and time formations in the file and in the regex constructs
Many thanks for any reply