I have a bunch of Apple .pages files stored in a directory structure that I want to convert to .docx or .odt formats. I want some kind of command line script, program, etc which will recursively search the directory structure and convert any .pages files to .docx or .odt formats. Any suggestions? Thanks.
Asked
Active
Viewed 1,652 times
1 Answers
0
I would use a command line option to handle this
libreoffice --convert-to odt *.pages
it would find any matching Apple pages documents in the current directory and begin the conversion to the desired format, e.g. odt
Good luck.
Note this doesn't work if you have the libreoffice application already open and running somewhere else... this is meant to run in a headless mode.
You may want to try viewing the output from the command
libreoffice --help
to get an idea of other command line options such as formats and working directories to solve your document conversion problem.

mondotofu
- 777
folder1
that containedfile1.pages
andfolder2
, andfolder2
containedfile2.pages
, should they all end up in the same folder or should the covered file end up in the same place as the original, egfile2.odt
would be infolder2
andfile1.odt
would be infolder1
? – Pixelated Fish Mar 28 '21 at 02:58