Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 2

unpkg 4.

0 -- 2009-01-16
by timdoug
timdoug@gmail.com
http://www.timdoug.com/

a quick and simple .pkg extractor


(a fully Universal Binary, as well)

for/tested on Mac OS X 10.4.11 PPC/Intel and 10.5.6 Intel


released under the GNU GPL (see COPYING)

NEW IN 4.0 (so big we skipped 3.0):


- entirely re-written in Python
- now works with multiple packages at once
- also now extracts 10.5-style packages (nested ones, too, and in 10.4
as well!)
- ripped out CocoaDialog, simplifying the interface
- new (and prettier!) icon

This program is pretty self explanatory -- there are some files in a


package you want, but you don't want to let the package write all over
your hard drive, or you don't have Administrator privileges or
passwords, etc.

Just drag the package onto unpkg's icon and it will extract the
contents into the same directory, with the same name. For example, if
I'm unpacking gcc3.3.pkg in my home folder, a folder named gcc3.3 will
appear in that same folder with all of the package's contents.

If the package is in a non-writable folder (e.g., a locked disk image, or


a CD), unpkg will try unpacking onto the Desktop. In either case, if
there already exists a folder with the chose name (following our
previous example, gcc3.3), a digit (or digits) will be consecutively
appended to the extracted folder.

The Python source is available in


unpkg.app/Contents/Resources/script.

Cheers,
-timdoug

Note: unpkg does its magic with the help of another GNU GPL
application, Platypus (http://www.sveinbjorn.org/platypus/), and a BSD
licensed application "xar" (http://code.google.com/p/xar/). Thanks!

You might also like