You can do what you asked with the cat command: cat file*.rtf > bigfile.rtf
I am not sure that will give you a valid rtf file though. Each rtf file is going to have header and footer info and the concatenation of all of them might not be valid. You might be able to use the cat command to concatenate all the files, open the resulting file with textedit and then save it wiping out the redundant header/footer info. Maybe.
On 03/26/2015 08:35 AM, Phil Halton wrote:
I have a folder containing around 120 .rtf files and I want to concatenate them into one large file. They are sorted and listed in the order in which I wish to have them joined together. I know I could do this one at a time by some such command as file1+file2+file3, etc. Is there a one-shot command that will join them all together?
-- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.
