osmates snapshot list
List a machine's snapshots, oldest first.
osmates snapshot list <machine> [--json]Each line gives the snapshot's identifier, its name, what it holds, when and why it was taken, its disk's size, what its files take on the Mac, blocks they share with the machine's disk included, what deleting it frees at least, whether it is kept from automatic deletion, and whether it keeps the screen.
Arguments
<machine>RequiredThe machine's name or identifier.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an array of objects with these fields.
JSON Schema: /schemas/0/cli/snapshot/list.json
hasScreenbooleanRequiredreclaimableBytesintegerAt least 0.
recordobjectRequiredrecord.createdAtstring (date-time)Requiredrecord.discstring (uri)record.discControllerbooleanrecord.firmwareobjectrecord.frameworkSoundobjectrecord.guestToolsbooleanrecord.hardwareobjectRequiredrecord.hostBuildstringrecord.idstring (uuid)Requiredrecord.includesMemorybooleanRequiredrecord.isCrashConsistentbooleanRequiredrecord.isKeptbooleanRequiredrecord.namestringRequiredrecord.networkPathstringOne of
direct,detached,filtered.record.originstring or objectRequiredOne of
manual, or an object that holds one key:agentSession,agent,beforeRevert,schedule,beforeUpdate,beforeDrivers,guest,beforeGuestRevert,codeSession,beforeMacOSUpdateorbeforeFirmwareUpdate.record.partitionGrowthobjectrecord.rosettabooleanrecord.windowsDriversobjectrecord.withoutNetworkbooleanRequiredsavedStateBytesintegerAt least 0.
spaceobjectspace.allocatedintegerRequiredAt least 0.
space.logicalintegerRequiredAt least 0.
Fields nested deeper are in the schema.
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |