change inconsistent date into increase number.

Advanced Renamer forum
#1 : 05/05-19 23:42
ucok66
ucok66
Posts: 3
Hai, can you help to rename these from:

2019_01_24_08_16_07_1088349717157752832_1.jpg
2019_01_24_08_16_07_1088349717157752832_2.jpg
2019_01_24_21_18_01_2019_01_25.jpg
2019_01_25_03_53_52_2019_01_25.jpg
2019_01_25_07_09_14_countess_coloratura.jpg
2019_01_25_1943992.jpeg
2019_01_25_1943993.jpeg
2019_01_27_03_25_20_1089363702338379776_2.jpg
2019_01_27_03_25_20_1089363702338379776_3.jpg
2019_01_27_03_26_31_2019_01_27.jpg
2019_02_08_14_10_22_Limestone_pie___Kinshasa.jpg
2019_02_10_12_04_45_applebloom,.jpg

Into:

01_1088349717157752832_1.jpg
02_1088349717157752832_2.jpg
03_2019_01_25.jpg
04_2019_01_25.jpg
05_countess_coloratura.jpg
06_1943992.jpeg
07_1943993.jpeg
08_1089363702338379776_2.jpg
09_1089363702338379776_3.jpg
10_2019_01_27.jpg
11_Limestone_pie___Kinshasa.jpg
12_applebloom,.jpg

currently, the method that I know is this:

replaced: (\d*)\_(\d*)_(\d*)\_(\d*)\_(\d*)\_(\d*)\_
with: <Inc Nr:1>_
but, this method is not good for 7th and 8th images

if you recommend me to use scrip, can you also include where I can get the full guide?


05/05-19 23:42
#2 : 06/05-19 00:54
David Lee
David Lee
Posts: 1125
Replace: ^\d{4}_(\d{2}_)*(.*)
With: <Inc Nr:1>_\2


06/05-19 00:54