Shell script to move semi-synthetic images to their corresponding folders