find * |grep fasta |while read fasta ; do cp $fasta ./temp.fasta ; ./gen-short-reads sample-config.ini ; mv reads.fa $fasta.reads ; done