Skip to content

BASH script to convert (XML-based) Apple .pages files to .odt (OpenDocument) files.

License

Notifications You must be signed in to change notification settings

TDavLinguist/pages_to_odt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pages_to_odt

BASH script to convert (XML-based) Apple .pages files to .odt (OpenDocument) files.

Disclaimer

I wrote this with the help of OpenAI's ChatGPT, but I plan to make certain adjustments to it myself and am willing to accept pull requests from others to make the script even more human-generated.

Dependencies

  • find
  • libreoffice (specifically command-line tools)
  • zip

Usage

This script searches a directory (and sub-directories if -R flag is added) for any Apple Pages documents (ending in .pages). If the .pages document is a ZIP file (most are), the script then passes it to libreoffice for conversion. If the .pages document is a directory, the contents of the directory are first zipped and then sent to libreoffice for conversion. The converted files should be automatically moved to the directory of the original file.

About

BASH script to convert (XML-based) Apple .pages files to .odt (OpenDocument) files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages