Page 1 of 1

Conditional Renaming

Posted: Thu Jul 27, 2017 2:29 pm
by kcdev
Hi,

I am trying to figure out how to solve a problem. I have 100 files. with a filename structure like this

SKU_year_model_size_code_#.jpg and I want to rename them SKU+_#.jpg with the # being sequential

The other thing I would like to do is to try a find and replace such that if a certain part of the file name is a certain letter or number then to rename the file to a corresponding number like A = 1, B = 2 and

SKU_year_model_size_A+_#.jpg rename SKU+_3.jpg

Re: Conditional Renaming

Posted: Thu Jul 27, 2017 3:26 pm
by Cosmin
Hello,

Thank you for your question.

In Step 2 > Edit Names > Profiles select Custom Defined.

In the Keywords edit box type your new filename SKU+_ then add the keyword [Counter] (use the + menu on the right side). Then close the windows with OK.

You can only do a single search & replace. In the Search for edit box type the sequence that you want to be replaced and in the Replace with edit box type the replacement.