I have about 11,000 folders that I need to rename. Here is an example of them.
The name on the left is the current folder name. I'm trying to get them to look like the name on the right.
100_5.-5530-1_100-1a -> 5.-5530-1_100/1a
124_6.-6217-16_3g -> 6.-6217-16/3g
3_1.-24-93.115_3b -> 1.-24-93.115/3b
1_1.-16-1_2-6d.6e -> 1.-16-1_2/6d.6e
I am hoping that there is an option other than pattern matching because the number of digits that need to be removed in the front of the string differs from folder to folder. If I can do something that finds the first underscore that appears from the right side, then removes that underscore along with the digits to the left of it, that would take care of the first part of the issue.
The second part is changing the dash or underscore at the end of the string to a slash /. If there's a way for me to setup something that starts at the left side of the string, finds the first dash or underscore and changes that to a slash, that would take care of the second part of my issue.
Any help with this issue would be greatly appreciated.