A script to batch rename files, create corresponding folders, move files, create zip files?
I want to run script to batch rename images in a folder that I have placed png files into, then batch create sub-folders based on each individual image’s new name into a different folder. Lastly, I would like to move the png image, and also create a zip file of each individual image and save in its corresponding sub-folder.
Specifically, I have 2 existing folders on my Mac desktop “For Processing” and “Processing Completed”. In the “For Processing” folder, I will add any number of png images that I have created with various filenames. When it comes time that I need to process, I rename the png images to a more meaningful and consistent naming convention eg. Map-001.png, Map-002.png, etc. Then in the different folder “Processing Completed”, I create sub-folders for each image, eg sub-folder named Map-001, the next Map-002, etc. Inside each of these sub-folders I then move the png file, as well as save a corresponding zip file, ie. “Map-001.png” and “Map-001.zip” go inside the Map-001 sub-folder.
