X-Git-Url: http://git.scottworley.com/picsort/blobdiff_plain/de26d1f865a23c4a31fedf485ab3acc08d567dd2..0f88946688d3ba2ffb20cf5d391ecc7a22fac7e9:/picsorter.js?ds=sidebyside 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(); }