#1 : 08/10-12 11:56 Erwin Fiten
Posts: 3
|
Hi,
I have a filename with a fixed layout. yyyy-mm-dd_FIXED_VAR1_VAR2.ext now, based on the VAR1 and VAR2 i want to add some text after the date. exp : VAR1 = aaa VAR2= bbb when the aaa is in the filename, the number 12 has to be added to the filename when the bbb is in the filename, the number 13 has to be added to the filename when the ccc is in the filename, the number 14 has to be added to the filename so in this case it would be : original filenames : 2012-10-08_FIXED_aaa_bbb.mpg 2012-10-08_FIXED_ccc_aaa.mpg need to be renamed to : 2012-10-08_12_13_FIXED_aaa_bbb.mpg 2012-10-08_14_13_FIXED_ccc_aaa.mpg Is there a way to do it? |
#2 : 05/11-12 13:28 Erwin Fiten
Posts: 3
|
Reply to #1:
No-one an idea? |
#3 : 05/11-12 19:54 Kim Jensen
Administrator
Posts: 870 |
Reply to #2:
It is kinda difficult to do. It is possible by using the Script method, but requires some extra programming skills. This is because the pattern is very irregular. |