From 312eeeecdacb3e41c75ad7b5d83d8131e9c8d33a Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Fri, 30 Sep 2016 17:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E6=95=B0=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E7=9B=AE=E7=9A=84=E6=95=B0=E6=8D=AE=E6=97=A0=E6=9D=83=E9=99=90?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/platform/glusterfs/CopyData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/platform/glusterfs/CopyData.java b/src/com/platform/glusterfs/CopyData.java index 86a0501c..d99d6b65 100644 --- a/src/com/platform/glusterfs/CopyData.java +++ b/src/com/platform/glusterfs/CopyData.java @@ -61,7 +61,7 @@ public class CopyData { log.info("3202 "+sourceFolderName+" is not exists"); return -2; } - String command = "cp -r " + sourceFolderName+" "+destFolderName; + String command = "cp -rp " + sourceFolderName+" "+destFolderName; Constant.ganymedSSH.execCmdNoWaitAcquiescent(command);