Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Open iWork' 09 flat files as folders Apps
iWork' 09 introduced a new file format for Pages, Numbers and Keynote documents. Previous versions of iWork documents were kept as packages, allowing you to peek at their contents with the Show Package Contents contextual menu, but this trick does not work any more by default in iWork '09 -- the new format appears to just be a flat file. (You can set the preferences within the iWork '09 applications to save files as packages, if you prefer.)

It seems Apple did not go very far to create their new format -- the new file format is a standard zip file with a .pages, .numbers or .keynote extension instead of the standard .zip file extension. Therefore, if you replace the file extension with .zip, the file becomes a basic zip file that you can double-click to decompress and access its contents.

[robg adds: This hint originally referred to the file as a .tar file; as the comment notes, that's incorrect. I've updated it to reflect the .zip status, and I removed a warning about the file not working if you recompressed it. On my system, it does work if you re-zip it and rename it to .numbers. However, it then also appears as a navigable package bundle in the Finder...strange, but not file-damaging.]
    •    
  • Currently 2.50 / 5
  You rated: 1 / 5 (10 votes cast)
 
[18,659 views]  

Open iWork' 09 flat files as folders | 13 comments | Create New Account
Click here to return to the 'Open iWork' 09 flat files as folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Open iWork' 09 flat files as folders
Authored by: fds on Feb 26, '09 07:34:37AM

That's because it isn't a tar format file, but a zip file.



[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: momerath on Feb 26, '09 08:04:44AM
allowing you to peek at their contents
There, I fixed it for you.

[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: Nem on Feb 26, '09 11:28:30AM
I've been working on something to help with this, as I do a lot of work with Keynote and often want to go into the ".key" directory and muck with stuff. However, I do like the single file format for several reasons, so I needed a way to switch back and forth quickly and easily.

Here's the latest of what I've done, a Perl script and an Automator workflow. Drop either an iWork '09 package or directory on it and it will convert it to the other format (ie. package => directory).

Automator workflow:
http://nemws1.googlepages.com/ConvertiWork.workflow.zip

Command line junkies version:
http://nemws1.googlepages.com/iwork-conv.pl

---
Nem W. Schlecht
http://geekmuse.net/

[ Reply to This | # ]

Open iWork' 09 flat files as folders
Authored by: macintron on Mar 01, '09 10:43:49PM

Great, thanks



[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: Nem on Sep 09, '13 09:21:03PM

I'm guessing there isn't a huge need/desire for these files, but my Google Pages web page is very dead and somebody may still find these useful. For at least some time, here's a link to a Dropbox folder with the same files:

http://bit.ly/nemmacosxhints

---
Nem W. Schlecht
http://geekmuse.net/



[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: hamarkus on Feb 26, '09 01:45:46PM
I have the nagging feeling that this new format will break the great Linkback functionality (http://www.linkbackproject.org/). As an example, you might create an equation in LatexIt, paste/drag it as a pdf or png into a Keynote slide, and if you later want to edit the equation, there is a menu entry that reopens the equation in LatexIt, edit it there, save. Boom, it is updated in Keynote as well.

[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: gopes on Feb 26, '09 04:00:05PM
robg: "However, it then also appears as a navigable package bundle in the Finder...strange, but not file-damaging."

There's a bundle bit which, apparently, isn't set by just adding the extension. Jon Siracusa wrote in a really old article that "known" extensions include .framework, .bundle and .app. I would think that the list excludes application-specific extensions, like .pages. [link:]http://arstechnica.com/reviews/2q00/macos-qna/macos-x-qa-2.html.

[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: gopes on Feb 26, '09 04:03:33PM

I take that back. The info is right, but my thought was wrong: adding .numbers to a random folder turned it into a file. You're right, Rob, it's strange! :)



[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: Anonymous on Mar 02, '09 04:11:43PM

What does that mean? Changing the name of a folder can't make it into a file. What did you really mean to say please?



[ Reply to This | # ]
A package looks like a file
Authored by: MJCube on May 05, '09 10:39:00AM

Changing the extension simply makes it a package, which the Finder displays as a file, but the System knows is a directory. When you double-click a package, the System knows what kind of file to look for within it, and opens that. In the case of Pages, there's an "index.xml" file. For apps there's [app]/Contents/MacOS/[app name].



[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: emale on Feb 26, '09 11:22:03PM

Seems to be a new way apple handles files. The iPhone/iPod-Applications work like this: It's only zipped files. Maybe in Snowleopard we'll see more of this...



[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: tommyw on Feb 28, '09 11:36:26PM
And the ZIP QuickLook plugin permits you to just view the contents...

http://d.hatena.ne.jp/t_trace/20071125/p2

Interestingly, QuickLook isn't showing my Pages 09 files as expected anymore. I pops up just a pic of the file icon. Once I re-installed the zip quicklook plugin it's showing me the contents.

I'd imagine that either Apple will fix this or more likely I've something amiss on my system. In either case I would imagine that renaming the file to a .zip extension would permit the ZiP plugin to show you the contents without uncompressing the file.




[ Reply to This | # ]
Open iWork' 09 flat files as folders
Authored by: Anonymous on Mar 02, '09 04:14:36PM

...or create a hardlink.

ln <em>original</em> <em>not-a-copy</em>

A hardlink is like an alias, except each is a reference to the same file, and they must exist on the same filesystem. You can delete the original, and the "copy" remains.



[ Reply to This | # ]