#!/bin/bash

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

for FILE in `cat ls.out` ; do

  cp ../$FILE/aei.png $FILE"_"aei.png

done


