In a folder containing X files, I need to concatenate Y files (where X > Y) together into a single text file. I have the filenames (of Y files) that I need to concatenate.
Concatenate specific files into one single file
catfiles
catfiles
In a folder containing X files, I need to concatenate Y files (where X > Y) together into a single text file. I have the filenames (of Y files) that I need to concatenate.
Best Answer
You can use the
cat
command (seeman cat
for more information) to concatenate the text files.If you want to create a new file
or if you want to append to an existing file use it like this