Fixed path in md5sum file.
This commit is contained in:
parent
ac5c666839
commit
0b3100139e
1 changed files with 10 additions and 3 deletions
|
@ -185,11 +185,18 @@ public class VideoCutGUI extends JFrame
|
|||
|
||||
case '!':
|
||||
{
|
||||
String command = String.format("mv t.%s %s; md5sum %s > %s.md5", FilenameUtils.getExtension(VideoCutGUI.this.data.getEscapedFileName()),
|
||||
VideoCutGUI.this.data.getEscapedFileName(), VideoCutGUI.this.data.getEscapedFileName(), VideoCutGUI.this.data.getEscapedFileName());
|
||||
//
|
||||
String command = String.format("mv t.%s %s", FilenameUtils.getExtension(VideoCutGUI.this.data.getEscapedFileName()), VideoCutGUI.this.data.getEscapedFileName());
|
||||
System.out.println("command=" + command);
|
||||
String log = CmdExec.run("bash", "-c", command);
|
||||
VideoCutUtils.notify("Move and md5sum done.");
|
||||
System.out.println("log=[" + log + "]");
|
||||
|
||||
//
|
||||
command = String.format("md5sum %s > %s.md5", new File(VideoCutGUI.this.data.getEscapedFileName()).getName(), VideoCutGUI.this.data.getEscapedFileName());
|
||||
System.out.println("command=" + command);
|
||||
log = CmdExec.run("bash", "-c", command);
|
||||
System.out.println("log=[" + log + "]");
|
||||
VideoCutUtils.notify("Move and md5sum done.");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue