From 10d4b1d48fb96a558b4a0455517ac8561e4c4455 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Thu, 13 Jul 2017 14:46:55 +1000 Subject: [PATCH] we cannot overwrite a running file. --- uploadwechathitxy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uploadwechathitxy.sh b/uploadwechathitxy.sh index 7fa9e8a..42f70f3 100755 --- a/uploadwechathitxy.sh +++ b/uploadwechathitxy.sh @@ -1,5 +1,6 @@ #!/bin/bash go build + rsync -a spa/ root@biukop.com.au:/root/wechatAPIServer/spa/ -scp ./wechat_hitxy root@biukop.com.au:/root/wechatAPIServer/ +scp ./wechat_hitxy root@biukop.com.au:/root/ scp *.json root@biukop.com.au:/root/ \ No newline at end of file