Email Print Combine multiple text files Written by Peter Davies on 18 August 2009. This simple script joins multiple text files together allowing you to perform a single file DB import for example: #!/bin/bash for file in `ls ./*.txt` do cat $file >> all.files done < Prev Next >