How to extract contents from 'Payload' file in a apple macOS update package?

前端 未结 2 384
灰色年华
灰色年华 2020-12-13 14:05

I am extracting macOS sierra update package - macOSUpd10.12.1.pkg using following command to /tmp/macosupd directory.

pkgutil --expand /Volumes/         


        
2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 14:53

    There is an undocumented option to pkgutil, --expand-full, which uses the same syntax as pkgutil --expand.

    pkgutil --expand-full [pkg] [dir]

    This will completely "unarchive" a pkg or mpkg file.

提交回复
热议问题