shred files using nemo context menu

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
Level 5
Level 5
Posts: 588
Joined: Fri Nov 22, 2013 9:48 am

shred files using nemo context menu

Post by sadhu » Mon Sep 19, 2016 5:03 am

To completely remove a file from a HDD it is simply necessary to overwrite its contents before deleting the file. (Note that this procedure doesn't work on with solid state devices such as SSDs or USB stick memory, nor with a true journaling file system.)

Nevertheless I find it quite handy.

To add a "shred files" command to the nemo context memory:
  1. Create directory ~/.local/shared/nemo/actions
  2. In the new .../actions directory, save the following in a plain text file called "shred.nemo_action":

    Code: Select all

    [Nemo Action]
    Name=Shred selected
    Comment=Overwrite and delete object
    Exec=/usr/bin/shred -f -u -v -z -n 2 %F
For more information on creating custom actions for the nemo right-click menu, see ... -cinnamon/

sabbe sattā bhavantu sukhitattā. LN 19.2-64 Cinn 3.6.7, Mobo: ASUSTeK STRIX B250G GAMING v, Dual core Pntm G4560, Intel Gfx. Laptop:Dell Inspiron 15-3000, Core i3, 4G RAM Intel Gfx

Level 13
Level 13
Posts: 4870
Joined: Sun Nov 21, 2010 8:31 pm

Re: shred files using nemo context menu

Post by Habitual » Mon Sep 19, 2016 7:02 am

Post Reply

Return to “Tutorials”