#!/bin/bash

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

for FILE in `cat ls.out` ; do

  cp ../$FILE/size_distribution/size_distribution.eps $FILE"_"size_distribution.eps

done


