|
@@ -417,11 +417,11 @@ public class CameraUtil {
|
|
|
List<String> commands = new ArrayList<>();
|
|
|
for (Map<String, Object> map : maps) {
|
|
|
Object path = map.get("Path");
|
|
|
- ////查出符合条件的视频文件,删掉
|
|
|
- //if (!ObjectUtils.isEmpty(path)) {
|
|
|
- // String commit = " rm -rf " + transcribeFilePath + formatD + "*";
|
|
|
- // commands.add(commit);
|
|
|
- //}
|
|
|
+ //查出符合条件的视频文件,删掉
|
|
|
+ if (!ObjectUtils.isEmpty(path)) {
|
|
|
+ String commit = " rm -rf " + transcribeFilePath + "/" + path.toString() + "/" + formatD + "*";
|
|
|
+ commands.add(commit);
|
|
|
+ }
|
|
|
}
|
|
|
// 删除
|
|
|
for (String line : commands) {
|