TIL: copying files to Dom0 in Qubes OS
In some rare cases you might need to copy a file from a VM in Qubes OS to Dom0.
This can be done with the following command in a Dom0 console:
qvm-run --pass-io my-vm 'cat /path/to/file/in/my-vm/file.doc' > /path/fo/file/in/dom0/file.doc