Hey Dave, et al,

After reading the several responses and gauging your reaction to them I’ll 
offer yet another solution.

First of all, I am assuming that what you want is one large, all-inclusive 
file.  I’m further assuming that all these files are just simple text file with 
no more formating than the spacing embedded within each.  Given these 
assumption prove accurate, you may want to consider this:

- Open your Terminal application.
- Go to the folder where these files reside.
- Using the Unix cat (concatenate) command, you can load the contents of any 
number of files into a single larger file in the following ways:

* If the files follow an incrementally successing order (i.e., file01.txt, 
file02.txt, file03.txt, etc) you can execute the command:

    cat file*.txt >DesiredFile.txt

However, if the file names do not conform to the neat sort order suggested 
above, you may need to concatenate them specifically as follows:

    cat firstFile.txt secondFile.txt thirdFile.txt … > DesiredFile.txt

Or, if you prefer to concatenate the files individually or in several batches, 
you could do:

    cat firstFile.txt secondFile.txt >DesiredFile
    cat thirdFile.txt fourthFile.txt >>DesiredFile
    cat fifthFile.txt sixthFile.txt >>DesiredFile
    etc

A point that should be made here, note that in the last solution, only the 
initial concatenation is directed via a single greater-than (>) symbol.  All 
succeeding concatenations use a double greater-than (>>) symbol.  This is 
because in Unix the “>” initiates a create or start-over instruction while the 
“>>” signifies an append operation.

I hope this is not overwhelmingly confusing, my intentions are to be helpful.

One further note, when using the “wild card” symbol (*) make sure the target 
file cannot be confused as a possible source file.  For example, do not do 
something like:

    cat file*.txt >file00.txt

HTH

* * * * * * * * * * * *
- Bill from Ino, Wisconsin
- "Creativity doesn't wait for that perfect moment."
- "It fashions its own perfect moments out of ordinary ones."
- Bruce Garrabrandt


> On Aug 25, 2022, at 8:38 AM, Dave Carlson <[email protected]> wrote:
> 
> Herbie,
> Okay, then you’re saying that when I unzip, it will come out as a single 
> large text file? I don’t know how that is accomplished.
> 
> Dave Carlson
> Farfar, Pioneer, Musician, Oregonian, Engineer, and Woodworker
> 
> 
> 
> 
> On Aug 25, 2022, at 6:07 AM, Herbie Allen <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> You can do a Zip file. Select the files you want, bring up your context menu 
> with VO Shift M, and go down to Compress. 
> 
>> On Aug 25, 2022, at 00:05, Dave Carlson <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I have 16 text files from scanning pages. I want to open them and have them 
>> all be one continuous text file.
>> Is there a way to select these 16 text files in finder and then open them or 
>> paste them into a single document? Sort of like a book binder app.
>> 
>> Dave Carlson
>> Woodworker, Musician, Oregonian, Farfar, Pioneer, and Engineer
>> 
>> 
>> 
>> 
>> -- 
>> The following information is important for all members of the Mac 
>> Visionaries list.
>> 
>> If you have any questions or concerns about the running of this list, or if 
>> you feel that a member's post is inappropriate, please contact the owners or 
>> moderators directly rather than posting on the list itself.
>> 
>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
>> [email protected] <mailto:[email protected]> and your owner is Cara Quinn - you 
>> can reach Cara at [email protected] <mailto:[email protected]>
>> 
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/[email protected]/ 
>> <http://www.mail-archive.com/[email protected]/>
>> --- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/macvisionaries/8B174D06-FB38-4CAC-86C0-8CEC40F94F5F%40gmail.com.
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> [email protected] <mailto:[email protected]> and your owner is Cara Quinn - you can 
> reach Cara at [email protected] <mailto:[email protected]>
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/[email protected]/ 
> <http://www.mail-archive.com/[email protected]/>
> --- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/1CFCAFC5-27CA-4553-9E17-5FB98F486FFC%40gmail.com.
> 
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
>  
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
>  
> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: 
> [email protected] and your owner is Cara Quinn - you can reach Cara at 
> [email protected]
>  
> The archives for this list can be searched at:
> http://www.mail-archive.com/[email protected]/ 
> <http://www.mail-archive.com/[email protected]/>
> --- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/7176B16D-DDDC-45CC-88E3-4DADEC4957E9%40gmail.com
>  
> <https://groups.google.com/d/msgid/macvisionaries/7176B16D-DDDC-45CC-88E3-4DADEC4957E9%40gmail.com?utm_medium=email&utm_source=footer>.

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
[email protected] and your owner is Cara Quinn - you can reach Cara at 
[email protected]

The archives for this list can be searched at:
http://www.mail-archive.com/[email protected]/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/8A3DA75B-91BD-4815-82CA-78D8A30C78BD%40gmail.com.

Reply via email to