#1 : 23/05-20 15:50 Tchook
Posts: 2
|
Hi
Thx for this app and thx for this forum i got those 3 types of original file that could be like this ex -mypicture_normal.jpg -my_picture_normal.jpg -my_pic_ture_normal.jpg and i got variations of those file ex -mypicture_color.jpg -my_picture_color.jpg -my_pi_cture_exposure.jpg -my_picture_exposure.jpg -mypicture_grading.jpg etc i would like to rename those file like this ex o_pic_mypicture_a_qqq_2ev_norm_a.jpg o_pic_mypicture_a_qqq_2ev_expo_a.jpg o_pic_mypicture_a_qqq_2ev_grade_a.jpg or o_pic_my_picture_a_qqq_2ev_norm_a.jpg or o_pic_my_pic_ture_a_qqq_2ev_norm_a.jpg I succeed to add( o_pic_)at the begining and (_a_qqq_2ev_) with the new name command I succed to rename normal to norm; exposure to expo and grading to grade with list replace command. Which gave me something like that ex o_pic_mypicture_norm_a_qqq_2ev_a.jpg but i m stuck to split the original name in order to put a part of the original name at the end. If someone could help it would be very appreciate Thx in advance Have a nice We Tchook |
#2 : 27/05-20 08:48 David Lee
Posts: 1125
|
Try this Regular expression in a Rename method:
(.*)(_\w{4})[^_]*$ This will save the first part of the filename in the variable \1 and "_" plus the first four letters of the final word in \2. If you are unhappy with the abbreviations "colo" and "grad" you already know how to deal with them. See www.advancedrenamer.com/user_guide/regular_expresions for further information. |
#3 : 28/05-20 15:52 Tchook
Posts: 2
|
Reply to #2:
Thx a lot for your answer and your time. i m really not good at using things i dont understand, this why came with this method in case people got the same problem ive made a bunch of replace in order to conform, signs, spelling etc and for the split for a one word o_pic_<Word:1>_a_qqq_2ev_<Word:2> for two words o_pic_<Word:1>_<Word:2>_a_qqq_2ev_<Word:3> etc... which is not really clever but it works. (me happy me buying license) Thx again david lee |