[Solved] Combine different text files

Discuss the word processor
Locked
crusader
Volunteer
Posts: 537
Joined: Sun Jan 20, 2008 5:06 am

[Solved] Combine different text files

Post by crusader »

I have approximately 35 *.odt files (documents) that I wish to combine (merge) into one file. All files are pure text (no images, tables, etc.). Most files are one page long, some are two pages long. The text contained in each file is different. Formatting is insignificant.

I have reviewed the help files in OOo and searched this forum. Both sources briefly discuss merging different versions of the same document (edited versions). That does not apply in my case since the content of each document is entirely different.

The end product I am looking for is one 40+ page document. Other than opening each file and manually doing a cut and paste job, is there a simple way of combining all these files into one using OOo? I believe I can do this using a text editor if I save all the files into .txt format; however, I would like to know if Writer can handle this and if it can, use it.

All feedback will be appreciated...
Last edited by MrProgrammer on Fri Feb 20, 2026 6:02 pm, edited 2 times in total.
Reason: Lock ancient topic
LibreOffice 26.2.x on Linux Mint Cinnamon 22.3
In a world without walls, who needs Window$
A candle loses nothing by lighting another candle
User avatar
Bhikkhu Pesala
Posts: 1253
Joined: Mon Oct 08, 2007 1:27 am

Re: Combining Different Text Files

Post by Bhikkhu Pesala »

Insert, File.
Idiot Compassion
LibreOffice 6.0.4 on Windows 10
Wandering
Posts: 35
Joined: Sun Dec 23, 2007 3:26 pm

Re: Combining Different Text Files

Post by Wandering »

You can't open a group of files at once in Writer. But, in the time it took to write your post and then check back here, you could have done 32 files in a few minutes. Here is two ways:

Go to the bottom of the current last page, and insert the new file..... repeat

Open one instance of Writer with the first file,
and then open each new file in a new instance, and copy the second to the first, close the page ....repeat this line

either way takes less than ten minutes. Good luck.

Oh, yes, there are other methods including drag and drop .....
crusader
Volunteer
Posts: 537
Joined: Sun Jan 20, 2008 5:06 am

Re: Combining Different Text Files

Post by crusader »

Thank you, Bhikkhu and Wandering.

I found Bhikkhu's method the easiest and fastest.
LibreOffice 26.2.x on Linux Mint Cinnamon 22.3
In a world without walls, who needs Window$
A candle loses nothing by lighting another candle
Locked