-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I am trying to send mutliple files using qrexec by catting the files using the
following scripts:

Script one on the client:

echo "$#"
while [ $1 ]; do
    echo $(wc -l $1)
    cat $1
    shift
done


Script two on the server:

read NUMFILES
READFILES=0
while [ $READFILES -lt $NUMFILES ]; do
    read CATFILESIZE CATFILENAME
    head -n $CATFILESIZE > "$CATFILENAME"
    ((READFILES++))
done


This successfully sends the first file, but not the second, can anyone help
with this or should I be using qvm-copy?

Thanks for reading
-----BEGIN PGP SIGNATURE-----

iIgEARMKADAWIQRFNnsoPo7HH0XEMXc88cBGMbAIWAUCXecNwhIccHJhZ29AdHV0
YW5vdGEuZGUACgkQPPHARjGwCFiw0gD/TPKyOcTLN94aJYJd8oaf+4ciHy1jKZ9W
XBlIif0fJHMA/jy3LS32Ed21PcbACGz0RZIIGYGFoSptsyLQM5SH9fNd
=F4IQ
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/LvDZBfL--3-1%40tutanota.de.

Reply via email to