On Sun, 3 May 2015 10:07:27 +0200
Johnny Rosenberg <gurus.knu...@gmail.com> wrote:

> 2015-05-03 0:02 GMT+02:00 chuck ef <chuck...@hotmail.com>:
> 
> > Johnny - your suggestion should work on Mac OS if one is willing to use
> > the terminal, right?
> >
> 
> As far as I understand, yes. But I never had a Mac so I don't know for sure.
> 
> 
> Kind regards
> 
> Johnny Rosenberg
> ジョニー・ローゼンバーグ
> 
> 
Another way to do this might be to make a Master Document, and enter therein 
the names of all the text files in sequence (perhaps from a captured directory 
listing?).  The output document resulting from the expanded Master Document 
might then be edited in the usual way.  There are problems: the individual 
documents might lose their formatting, and one would need to get one's head 
around the complexities of Master Documents and their structure.  For a one-off 
task the hundred documents could have been inserted by hand using /File /Insert 
and an hour's work.


> 
> >
> >
> > > On May 2, 2015, at 4:47 PM, Johnny Rosenberg <gurus.knu...@gmail.com>
> > wrote:
> > >
> > > 2015-05-02 23:01 GMT+02:00 Brian Barker <b.m.bar...@btinternet.com>:
> > >
> > >> At 11:13 02/05/2015 -0400, Dave Mainwaring wrote:
> > >>
> > >>> Inserting 100 small text files into doc
> > >>> Need to insert 100 plus small account record files into a single
> > >>> document. Any simple easy way to do this?
> > >>
> > >> That depends on whether your "text files" are plain text or word
> > processor
> > >> text documents. If they are plain text, this may be a simple job for
> > your
> > >> operating system. In Windows, for example,
> > >> copy a+b c
> > >> creates a file c containing a concatenation of the contents of files a
> > and
> > >> b. You could write simple code to include multiple files if they were
> > >> systematically named
> > >
> > > If text files and on Linux, here's what I would try to do:
> > > 1. Put them all in a new, or at least empty, folder, perhaps using my
> > > favourite file manager.
> > > 2. Open a terminal in that folder.
> > > 3. cat * > NewFile
> > > Done.
> > >
> > > NewFile will now contain all text from the hundreds of files in that
> > > folder. Open it in Apache OpenOffice and do whatever you want with it.
> > >
> > >
> > > Kind regards
> > >
> > > Johnny Rosenberg
> > > ジョニー・ローゼンバーグ
> > >
> > >
> > >
> > >>
> > >> In any case, you could use
> > >> copy * z
> > >> to create a file z containing a concatenation of all the files whose
> > names
> > >> match "*". So
> > >> copy *.txt z.txt
> > >> would assemble all plain text files from the current folder.
> > >>
> > >> It's then a trivial task to convert a plain text file into whatever you
> > >> mean by "doc" or "document".
> > >>
> > >> I trust this helps.
> > >>
> > >> Brian Barker
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
> > >> For additional commands, e-mail: users-h...@openoffice.apache.org
> > >>
> > >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: users-h...@openoffice.apache.org
> >
> >


-- 
Rory O'Farrell <ofarr...@iol.ie>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to