mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 07:57:28 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/osx/pkgutil
Normal file
25
tldr/osx/pkgutil
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pkgutil
|
||||
|
||||
> Query and manipulate Mac OS X Installer packages and receipts.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/pkgutil.1.html>.
|
||||
|
||||
- List package IDs for all installed packages:
|
||||
|
||||
`pkgutil --pkgs`
|
||||
|
||||
- Verify cryptographic signatures of a package file:
|
||||
|
||||
`pkgutil --check-signature {{path/to/filename.pkg}}`
|
||||
|
||||
- List all the files for an installed package given its ID:
|
||||
|
||||
`pkgutil --files {{com.microsoft.Word}}`
|
||||
|
||||
- Extract the contents of a package file into a directory:
|
||||
|
||||
`pkgutil --expand-full {{path/to/filename.pkg}} {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user