Skip to content

Instantly share code, notes, and snippets.

Peter Wu Lekensteyn

Block or report user

Report or block Lekensteyn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Lekensteyn /
Last active Oct 27, 2019 — forked from pudquick/
Pure python reimplementation of .cpio.xz content extraction from pbzx file payload for OS X packages
#!/usr/bin/env python
# Extract .cpio file from a pbzx Payload file.
# Based on,
# this version adds a command-line interface, improves efficiency (1 MiB chunks
# instead of a full copy in memory), adds Python 3 compatibility and
# automatically decompresses stuff (some blocks may not be compressed).
# Example usage (from Python):
You can’t perform that action at this time.