]> git.scottworley.com Git - picsort/commitdiff
Move with mv -vi
authorScott Worley <scottworley@scottworley.com>
Tue, 23 Dec 2014 06:14:12 +0000 (22:14 -0800)
committerScott Worley <scottworley@scottworley.com>
Tue, 23 Dec 2014 06:14:12 +0000 (22:14 -0800)
picsorter.js

index b07cfc67a500c916fbdd562a05879c7c9c2fc2a8..5eee6c18b634a5b322d5ec75a49a265267ab1d38 100644 (file)
@@ -180,7 +180,7 @@ function show_commands() {
     if (picinfo[f].deleted == "deleted") {
       commands.push("shred -u " + escaped_filename);
     } else if (picinfo[f].deleted == "extra") {
     if (picinfo[f].deleted == "deleted") {
       commands.push("shred -u " + escaped_filename);
     } else if (picinfo[f].deleted == "extra") {
-      commands.push("mv " + escaped_filename + " \"$EXTRADIR\"");
+      commands.push("mv -vi " + escaped_filename + " \"$EXTRADIR\"");
     } else if ("name" in picinfo[f] && picinfo[f].name.length > 0) {
       var command = ["pic-mv"];
       if ("exposure" in picinfo[f]) {
     } else if ("name" in picinfo[f] && picinfo[f].name.length > 0) {
       var command = ["pic-mv"];
       if ("exposure" in picinfo[f]) {