This is not intended as a substitute for pkgbuild(1). The directory to be flattened must have the proper contents and layout for a flat package. Show the metadata known about path in macOS plist(5) format.Įxpand the flat package at pkg-path into a new directory specified by dir-path.įlatten the dir-path into a new flat package created at pkg-path. List all of the packages that are members of this group-id. List all of the package groups on the specified -volume in macOS plist(5) format. ![]() groups List all of the package groups on the specified -volume. List all of the package groups this package-id is a member of. This command will not update the filesystem permissions in the receipt. Script changes the ACLs on the installed files, the receipt is automatically be updated to reflect those changes. This command cannot be used from package postinstall scripts, but if a postinstall Update the ACLs of the given path in the receipt identified by -edit-pkg. Print extended information about the specified package-id in macOS plist(5) format.ĭiscard all receipt data about package-id, but do not touch the installed files.ĭO NOT use this command from an installer package script to fix broken package design. Print extended information about the specified package-id. Run repair_packages(8) to repair the specified package-id. Run repair_packages(8) to verify the specified package-id. Print all receipt information about the specified package-id in the standard macOS plist(5) format. List all of the files installed under the package-id. See re_format(7) for a complete description of the syntax. (Eg, 'pkgutil -pkgs=\\.D' searches for package IDs matching the literal '.D'Īfter escaping the backslash from your shell and then the dot from the regex to make it literal.) RegularĮxpressions are more complex than simple shell globbing.Ī dot (.) matches any character, while '*' matches zero or more of the previous character. Be mindful of escaping characters in both your Search string will be ignored and all package IDs will be returned. List all installed package IDs matching REGEXP on the specified -volume. List all installed package IDs on the specified -volume in macOS plist(5) format. List all installed package IDs on the specified -volume. RECEIPT DATABASE COMMANDS -packages, -pkgs Always use pkgutil to query or modify them. The files and directories where receipts are stored are subject to change. Multiple commands are performed sequentially in the given order. Options are processed first, and affect the operation of all commands. Pkgutil reads and manipulates MacOS Installer flat packages, and provides access to the ``receipt'' database used by the Installer. help, -h A brief summary of commands and usage. ![]() regexp Try to match package-id arguments as a regular expression if an exact match isn't found. List only directories (not files) in -files listing. ![]() List only files (not directories) in -files listing. Specifies an existing receipt to be modified in-place by -learn. The root volume '/' will be used if unspecified. Perform all operations on the specified volume or home directory. ![]() Output in a "human-readable" format with extra headers, footers, indentation, and other contextual information. Syntaxĭon't ask for confirmation before performing a potentially destructive or ambiguous operation. Query and manipulate MacOS Installer packages and receipts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |