SysExtract
Sun Jul 22, 2007 · 129 words

Here's a little script I wrote that can extract certain packages from a Mac OS X install. I've used it to create clean installs from “used” systems and also as a tool for updating crucial system components for OS deployment images.

It's geared mostly for Intel-installs, but since 10.4.10 might actually work also on PPC. Just check the PKGS array.

It's not very safe. I hosed my NetInfo database more than once while working with it (thanks to the -pp option which Post Processes the created install by, among other things, deleting the NI DB), but I thought the general idea of using ditto and package Receipts to restore system components was pretty cool and actually quite useful.

Who knows, maybe someone out there would need this as well.


back · essays · credits ·