#!/bin/bash

ls -l ../*/sloan/aH_COLOR.png | awk '{ print gensub("../([^/]*).*","\\1",1,$9) }' > ls.out

for FILE in `cat ls.out` ; do

  cp ../$FILE/sloan/aH_COLOR.png $FILE"_"aH_COLOR.png

done


