0

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.

kjakeb
  • 283

1 Answers1

1

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
  • 817
  • 6
  • 12