You are right, I'm sorry for that. The product 0011-12 exist on the excel file so the images for this item should be moved. It should read this way:
product image on excel file for item 0011-12:
0011-12GY_D-3.jpg
images for folder:
0011-12GY_D-1.jpg
0011-12GY_D-2.jpg
Because the product is in the excel file, all images for this product will go to the new folder
Your suggestion is good about using the item number, I can use this column, however, it must be with minimum of 4 characters because I have other listing with only 4 characters identical.

Thanks!