I'm doing a data entry job and I need to rename all the images inside a bunch of folders. Instead of doing it manually I thought PHP could help.
Inside each folder is an image. I need to loop through all the folders, grab the image and rename it to it's parent folder's name. I know it's 100% possible but I'm not sure how to go about it.
Thanks!