[Solved] extraction of required columns from many files and writing it to a single file


find -type f -name "*.gcount" -exec <yourperlcommand> {} >> Em2gcount.csv \;

this will find all .gcount files from your current directory and execute the perl command on {} which references the file found and appends it to Em2gcount.csv

2

solved extraction of required columns from many files and writing it to a single file