Conditional Renaming
Posted: Thu Jul 27, 2017 2:29 pm
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
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