X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/de26d1f865a23c4a31fedf485ab3acc08d567dd2..9ac8dac07bfb3f58231b879ffe36f6abe41ed8df:/picsorter.js diff --git a/picsorter.js b/picsorter.js index 31ae640..f184784 100644 --- a/picsorter.js +++ b/picsorter.js @@ -152,7 +152,8 @@ function shell_escape(x) { function show_commands() { var commands = []; $.each(files, function(i, f) { - if ("name" in picinfo[f] && picinfo[f].name.length > 0) { + if ("name" in picinfo[f] && picinfo[f].name.length > 0 && + !("deleted" in picinfo[f])) { var command = ["pic-mv"]; if ("exposure" in picinfo[f]) { command.push("-e " + picinfo[f].exposure); @@ -165,6 +166,7 @@ function show_commands() { commands.push(command.join(" ")); } }); + commands.push(""); $("#shell_out").text(commands.join("\n")).show(); }