On 05/07/2018 05:35 PM,
cr33d...@gmail.com wrote:
> Hi,
>> Am Montag, 7. Mai 2018 15:15:30 UTC+2 schrieb Ivan Mitev:
>> Hi,
>>
>> On 05/07/2018 04:00 PM, cr33dc0d3r wrote:
>>> Hey All,
>>>
>>> i know about the method to copy a file between Dom0 and DomU's and also about the way how to directly copy a file from AppVM to AppVM with qvm-copy-to-vm.
>>>
>>> My Question is:
>>> Is there a way to execute a command on Dom0 that is like: copy [source-vm][path] [dest-vm][path] ?
>>
>> you could use `qvm-run sourcevm "qvm-copy /path/to/file` but you'd get a
>> popup to select the destination VM and you can't set the destination
>> path. Probably not what you want.
>>
>> Alternatively, pass I/O from one VM to the other with a pipe. For a file:
>>
>> qvm-run -p sourcevm "cat /path/to/file" | qvm-run -p destvm "cat >
>> /path/to/file"
> When i tried this, sh and cat throw "No such file or directory" errors.
> Already checked: test.txt is in the wanted dir: /home/user/documents/test.txt
> Are there Version-specific ways to execute such an command? (Im using R3.2)