Text files would work.  I have concatinated .mp3 ifles before,  but wrote a 
batch file to do it under DOS, or the CMD command interpreter at least.

RobH.

----- Original Message ----- 
From: "Pamela Francis" <gypsykitt...@gmail.com>
To: <macvisionaries@googlegroups.com>
Sent: Thursday, March 26, 2015 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 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.

-- 
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. 

-- 
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