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.
Can anyone please help me out on how to concatenate these files?
You can use the
If you want to create a new file
or if you want to append to an existing file use it like this
If the Y filenames are listed in a
In the case you've been careful and you've listed files one per line (to avoid problems with spaces in filenames), then just add a