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);
commands.push(command.join(" "));
}
});
+ commands.push("");
$("#shell_out").text(commands.join("\n")).show();
}