Browse Source

深时场景复制

lyhzzz 2 years ago
parent
commit
0b694439dd

+ 0 - 8
src/main/java/com/fdkankan/ucenter/common/constants/ShellCmd.java

@@ -10,12 +10,4 @@ public class ShellCmd {
 	public static final String FYUN_UPLOAD = "sudo bash /opt/ossutil/fyun-upload.sh %s %s /%s %s %s";
 	public static final String FYUN_DOWN = "sudo bash /opt/ossutil/fyun-download.sh %s /%s %s %s %s";
 
-
-	//激光相机 extra迁移
-	public static final String CP_JG_EXTRA = "bash /opt/ossutil/laser-copy.sh ";
-
-	public static final String CP_JG_ALL = "bash /opt/ossutil/laser-cp-r.sh ";
-
-
-
 }

+ 0 - 13
src/main/java/com/fdkankan/ucenter/common/utils/ShellUtil.java

@@ -128,17 +128,4 @@ public class ShellUtil {
         execCmd(cmd);
     }
 
-    public static void cpfile(String filepathOld,String filepathNew) {
-        log.info("开始复制");
-        String command = ShellCmd.CP_JG_EXTRA+ " " + filepathOld + " " + filepathNew;
-        execCmd(command);
-        log.info("复制完毕:" + command);
-    }
-
-    public static void cplaserfile(String filepathOld,String filepathNew) {
-        log.info("开始复制");
-        String command = ShellCmd.CP_JG_ALL+ " " + filepathOld + " " + filepathNew;
-        execCmd(command);
-        log.info("复制完毕:" + command);
-    }
 }