From 3d41477178db893888ef4e58e815970401aad95d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 17 Jun 2020 17:02:24 +0800 Subject: [PATCH] wfvm: support transferring folders recursively --- artiq-fast/wfvm/utils.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq-fast/wfvm/utils.nix b/artiq-fast/wfvm/utils.nix index 4a9145a..bb6ce7b 100644 --- a/artiq-fast/wfvm/utils.nix +++ b/artiq-fast/wfvm/utils.nix @@ -53,13 +53,13 @@ rec { win-put = pkgs.writeShellScriptBin "win-put" '' echo win-put $1 -\> $2 ${pkgs.sshpass}/bin/sshpass -p1234 -- \ - ${pkgs.openssh}/bin/scp -P 2022 ${sshOpts} \ + ${pkgs.openssh}/bin/scp -r -P 2022 ${sshOpts} \ $1 wfvm@localhost:$2 ''; win-get = pkgs.writeShellScriptBin "win-get" '' echo win-get $1 ${pkgs.sshpass}/bin/sshpass -p1234 -- \ - ${pkgs.openssh}/bin/scp -T -P 2022 ${sshOpts} \ + ${pkgs.openssh}/bin/scp -r -T -P 2022 ${sshOpts} \ wfvm@localhost:$1 . '';