in reply to How to read only limited number of files from a Directory
perl -e 'foreach(`ls /willows/dev/shree/*.txt|head -500`){print `cat $ +_`;}'>>newfile.txt [download]