for FILE in *.tsv; do cut -f3 $FILE > $FILE.temp # use -d option if not tab-delimited done paste *.temp > final.tsv rm *.temp