I would like a script to go through a directory of images and make folders and move images into that folder based on lines in a csv file.
The csv file would have column names like FolderName, Image1, Image 2, Image3, Image4
FolderName = 18-001
Image1 = 18-001.jpg
Image2 - 18-002.jpg
Image 3 = 18-003.jpg
Image 4 = personsname.jpg
So based on that wtihin the folder where the .csv file would be located and all of these images would be located I want to make a folder named "18-001" and then move Image1-4 into that folder.
With one catch. I might sometimes have more than 4 images. Each csv file might have different images. So a "while" statement would be needed to read the .csv Image columns - they do all start with "Image"