shred files using nemo context menu

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
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
sadhu
Level 5
Level 5
Posts: 527
Joined: Fri Nov 22, 2013 9:48 am
Contact:

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]
    Active=true
    Name=Shred selected
    Comment=Overwrite and delete object
    Exec=/usr/bin/shred -f -u -v -z -n 2 %F
    Selection=any
    Extensions=any
    EscapeSpaces=true
    
For more information on creating custom actions for the nemo right-click menu, see https://grvj.wordpress.com/2014/01/19/a ... -cinnamon/

-Sadhu
sabbe sattā bhavantu sukhitattā. LN 18.3-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

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

Re: shred files using nemo context menu

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


Post Reply

Return to “Tutorials”