unpbzx

package module
v0.0.0-...-9e9f2b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 9 Imported by: 0

README

Install

$ go get -u github.com/zhangyoufu/unpbzx/cmd/unpbzx

The executable will be installed at ${GOPATH}/bin/unpbzx.

Usage

Make sure your ${PATH} contains ${GOPATH}/bin.

List macOS Installer payload

$ hdiutil attach -readonly /Applications/Install*.app/*/*/InstallESD.dmg
$ bsdtar -x -O -f /Volumes/InstallESD/Packages/Core.pkg Payload | unpbzx | cpio -it | head
.
./.DS_Store
./.file
./.vol
./Applications
./Applications/.DS_Store
./Applications/.localized
./Applications/App Store.app
./Applications/App Store.app/Contents
./Applications/App Store.app/Contents/Frameworks

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(ctx context.Context, src io.Reader, dst io.Writer, numWorker int) error

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL