From 690fbbea5ba173e9964c47c8c9ce5e4d84a2b11e Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 22 Dec 2014 21:17:26 -0800 Subject: [PATCH 1/1] Use shred instead of rm --- picsorter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") { -- 2.44.1