Conditional Renaming

Can't figure out how to do a task? Ask here.
Post Reply
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
Cosmin
Posts: 480
Joined: Sat May 16, 2009 11:35 am
Contact:

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.
Regards,
Mike Cosmin Unguru
Product Manager
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests