Compare commits

..

No commits in common. "master" and "2.0.0" have entirely different histories.

View file

@ -185,18 +185,11 @@ public class VideoCutGUI extends JFrame
case '!': case '!':
{ {
// String command = String.format("mv t.%s %s; md5sum %s > %s.md5", FilenameUtils.getExtension(VideoCutGUI.this.data.getEscapedFileName()),
String command = String.format("mv t.%s %s", FilenameUtils.getExtension(VideoCutGUI.this.data.getEscapedFileName()), VideoCutGUI.this.data.getEscapedFileName()); VideoCutGUI.this.data.getEscapedFileName(), VideoCutGUI.this.data.getEscapedFileName(), VideoCutGUI.this.data.getEscapedFileName());
System.out.println("command=" + command);
String log = CmdExec.run("bash", "-c", command); String log = CmdExec.run("bash", "-c", command);
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."); VideoCutUtils.notify("Move and md5sum done.");
System.out.println("log=[" + log + "]");
} }
break; break;
} }