osmates vm clipboard read
Print the text on the guest's clipboard, or save its image or copy its files.
osmates vm clipboard read <machine> [--image <image>] [--files <files>]Arguments
<machine>RequiredThe machine's name or identifier.
--image <image>Save the image as a PNG file.
--files <files>Copy the files into this folder on the Mac. A name already in it stops the copy. The files arrive quarantined, as a download is: macOS checks an app or a script from them before it first opens, and xattr -dr com.apple.quarantine <path> removes that, after chmod -R u+rwX <path> where items are read-only.