]> git.scottworley.com Git - picsort/commitdiff
Use shred instead of rm
authorScott Worley <scottworley@scottworley.com>
Tue, 23 Dec 2014 05:17:26 +0000 (21:17 -0800)
committerScott Worley <scottworley@scottworley.com>
Tue, 23 Dec 2014 05:17:26 +0000 (21:17 -0800)
picsorter.js

index 6608edff15549b05a438f67626a78941d372b332..4f726fb16d6a074b845de5d574f68e5d7b16c4cd 100644 (file)
@@ -177,7 +177,7 @@ function show_commands() {
     if ("name" in picinfo[f] && picinfo[f].name.length > 0) {
       var escaped_filename = "'" + shell_escape(picinfo[f].name) + "'";
       if (picinfo[f].deleted == "deleted") {
-        commands.push("rm " + escaped_filename);
+        commands.push("shred -u " + escaped_filename);
         return;
       }
       if (picinfo[f].deleted == "extra") {