Do you need to open and read on your Linux box files generated on Mac OsX using Pages? Below how i’m doing it.
- create file /usr/local/bin/pages
- edit /usr/local/bin/pages and inserte the following code
1234567891011#!/bin/shPDFV=evince # your favorite pdf viewerFILEP="$1"FILET=$(mktemp)mv $FILET ${FILET}.pdfDIRP=$(dirname $FILEP)cd $DIRPunzip -jp "$1" QuickLook/Preview.pdf > ${FILET}.pdf$PDFV ${FILET}.pdfcd -rm -f ${FILET}.pdf
at line 2 insert the full path of your favorite pdf viewer - make executable the newly created file ( chmod +x /usr/local/bin/pages )
Now you can read .pages file from your shell executing pages /path/to/file.pages