Re: Terminal command to concatenate all files in a folder

2015-03-27 Thread -
If doing a cat command to get one large rtf file presents problems use the textutil command to first convert all rtf to txt files. Command: textutil -convert txt *.rtf XB -- You received this message because you are subscribed to the Google Groups MacVisionaries group. To unsubscribe from

Terminal command to concatenate all files in a folder

2015-03-26 Thread Phil Halton
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

Re: Terminal command to concatenate all files in a folder

2015-03-26 Thread Barry Hadder
First, just try cat *bigfile. Big file being what every you want. That will most likely give you what you want, but you may have to do more. Unix seems to deal with RTFs pretty well, but it’s possible that there may be problems. On Mar 26, 2015, at 8:35 AM, Phil Halton philh...@gmail.com

Re: Terminal command to concatenate all files in a folder

2015-03-26 Thread BobH.
3:21 PM Subject: Re: Terminal command to concatenate all files in a folder Hi, Can you do the same thing with a straight text file? Or a downloaded audio file? I have an audio file of a book that was separated by chapter. It came to me as a zip file. Can I somehow merge those files into a folder

Re: Terminal command to concatenate all files in a folder

2015-03-26 Thread Phil Halton
Todor, You’re confusing my original message with a hijacker asking another question that is only peripherally related to the topic at hand. I wish people would either start their own threads or be clear that there’ question is not related to the original message. On Mar 26, 2015, at 11:41 AM,

Re: Terminal command to concatenate all files in a folder

2015-03-26 Thread Todor Fassl
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

Re: Terminal command to concatenate all files in a folder

2015-03-26 Thread Pamela Francis
Hi, Can you do the same thing with a straight text file? Or a downloaded audio file? I have an audio file of a book that was separated by chapter. It came to me as a zip file. Can I somehow merge those files into a folder to save to my desktop? I need to use this book in order to study for some

Re: Terminal command to concatenate all files in a folder

2015-03-26 Thread Todor Fassl
I'm not sure what you mean by wanting to merge those files into a folder. Your original question was how to merge many files into one big file. That's why I said, You can do what you asked But that might not be what you want. Most likely, if you just want to listen to a book that came to