bash script to download figures image files to each subfolder