#!/bin/bash echo ls -1 ~/STAR/STAR_results | gawk -F_ '/STAR/{run="cp ~/STAR/STAR_results/"$0"/policy.txt ~/wisp/var/andres/reuse/rawdata/"$7$8$9".txt"; system(run);}'