mirror of
https://github.com/Qubes-Community/Contents.git
synced 2025-07-10 16:29:25 -04:00
removed dangerous qvm-copy-to-dom0 script
the script's instructions will be moved into a dedicated "copy files to dom0" page
This commit is contained in:
parent
40d0c6212b
commit
74698042ba
1 changed files with 0 additions and 16 deletions
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# qvm-copy-to-dom0
|
|
||||||
# Copy a file from an AppVM to dom0
|
|
||||||
# qvm-copy-to-dom0 <AppVM> <Source in AppVM> <Destination in dom0>
|
|
||||||
|
|
||||||
# command line parameters
|
|
||||||
AppVM=$1 # must be present
|
|
||||||
Source=$2 # must be present
|
|
||||||
Destination=$3 # optionally
|
|
||||||
|
|
||||||
# if no Destination given on commandline use ~/QubesIncoming
|
|
||||||
if [ -z "$3" ];then mkdir -p ~/QubesIncoming && \
|
|
||||||
Destination=~/QubesIncoming/$(basename $Source); fi
|
|
||||||
|
|
||||||
# copy file from AppVM to dom0
|
|
||||||
qvm-run --pass-io $AppVM "cat $Source" > $Destination
|
|
Loading…
Add table
Add a link
Reference in a new issue