From: Scott Worley Date: Tue, 23 Dec 2014 05:17:26 +0000 (-0800) Subject: Use shred instead of rm X-Git-Url: http://git.scottworley.com/picsort/commitdiff_plain/690fbbea5ba173e9964c47c8c9ce5e4d84a2b11e Use shred instead of rm --- diff --git a/picsorter.js b/picsorter.js index 6608edf..4f726fb 100644 --- a/picsorter.js +++ b/picsorter.js @@ -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") {