Concatenate all files in a folder into a single text file May 29, 2009 In Linux, assuming xargs is available: (ls | xargs cat) > newfilename.txt