#!/bin/bash

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

for FILE in `cat ls.out` ; do

  cp ../$FILE/sloan/family.list.sloan $FILE"_"family.list.sloan

done


