Request an invite
Docs menu

osmates vm move-to

Move a shut-down machine to the library on another volume.

Usage
osmates vm move-to <machine> <volume> [--json]

The machine's bundle is copied into the volume's OSMates Machines folder, read back and compared, and only then leaves where it was: a cancelled or failed move leaves the machine where it was and puts the copy in the trash of the volume's library. The volume must be APFS and attached to this Mac. The copy needs the room of every file in the bundle, each snapshot's clone counted again. Name the startup volume to bring a machine back to the library in Application Support. A macOS machine moved to a volume that can leave this Mac says what iCloud in it does if it starts on another Mac. osmates vm volumes lists the volumes.

Arguments

<machine>Required

The machine, shut down.

<volume>Required

The volume's name, or its UUID from osmates vm volumes.

--json

Print machine-readable JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/vm/move-to.json

copiedBytesintegerRequired

At least 0.

fromstringRequired
machinestringRequired
notestring
tostringRequired

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page