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 you as a zip file, yu probably want to unzip it at the command line and then browse to it in File Browser.

Anyway, yes, the command I gave works to concatenate files of all types. But you will get the same problem with many file types as I spoke of with rtf. The files will have header and footer information and simply concatenating them at the command line will give you a broken file. Plain text files will definitely work. So will mp3 files surprisingly. So you can do the following and it will probably work:

cat file*.mp3 > bigfile.mp3

On 03/26/2015 10:21 AM, Pamela Francis wrote:
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 advancement in my 
job.

Pam Francis

On Mar 26, 2015, at 9:36 AM, Todor Fassl <fassl....@gmail.com> wrote:

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 macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to