Set EXTRADIR appropriately.
commands.push("rm " + escaped_filename);
return;
}
commands.push("rm " + escaped_filename);
return;
}
+ if (picinfo[f].deleted == "extra") {
+ commands.push("mv " + escaped_filename + " \"$EXTRADIR\"");
+ return;
+ }
var command = ["pic-mv"];
if ("exposure" in picinfo[f]) {
command.push("-e " + picinfo[f].exposure);
var command = ["pic-mv"];
if ("exposure" in picinfo[f]) {
command.push("-e " + picinfo[f].exposure);
Mousetrap.bind('$', move_to_end);
Mousetrap.bind('x', function(){ mark_deleted("deleted"); });
Mousetrap.bind('X', mark_not_deleted);
Mousetrap.bind('$', move_to_end);
Mousetrap.bind('x', function(){ mark_deleted("deleted"); });
Mousetrap.bind('X', mark_not_deleted);
+Mousetrap.bind('e', function(){ mark_deleted("extra"); });
+Mousetrap.bind('E', mark_not_deleted);
Mousetrap.bind('r', rotate);
Mousetrap.bind('i', announce);
Mousetrap.bind('f', function() { say(files[input_index]); });
Mousetrap.bind('r', rotate);
Mousetrap.bind('i', announce);
Mousetrap.bind('f', function() { say(files[input_index]); });