|
@@ -120,7 +120,7 @@ public class ShellUtil {
|
|
|
|
|
|
public static void zip(String zipPath, String dataPath) {
|
|
|
log.info("打包zip开始");
|
|
|
- String command = "cd " + dataPath + " &&zip -r -m " + zipPath + " " ;
|
|
|
+ String command = "cd " + dataPath + " &&zip -r -m " + zipPath + " * " ;
|
|
|
execCmd(command);
|
|
|
log.info("打包zip完毕:" + command);
|
|
|
}
|