|
@@ -112,7 +112,7 @@ public class ShellUtil {
|
|
|
|
|
|
public static void unZip(String zipPath, String dataPath) {
|
|
public static void unZip(String zipPath, String dataPath) {
|
|
log.info("解压zip开始");
|
|
log.info("解压zip开始");
|
|
- String command = "unzip -O GBK/GB18030CP936 " + zipPath + " -d " + dataPath;
|
|
|
|
|
|
+ String command = "unzip -o " + zipPath + " -d " + dataPath;
|
|
execCmd(command);
|
|
execCmd(command);
|
|
log.info("解压zip完毕:" + command);
|
|
log.info("解压zip完毕:" + command);
|
|
}
|
|
}
|