SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-06-22 02:53:15

DapperMe17
#! CrunchBanger
From: Todd's Gang
Registered: 2012-10-19
Posts: 219

Wipe/shred scripts

Just a topic to share any good secure wipe or shred scripts (folders included).

Thanks for any replies.
hmm

Last edited by DapperMe17 (2013-06-22 02:54:23)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-06-22 05:53:52

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: Wipe/shred scripts

srm

or

srm -r

do those count if they're not really scripts, and you have to install the secure-delete package first? smile

Last edited by pidsley (2013-06-22 06:39:55)

Offline

#3 2013-06-22 18:23:55

paxmark1
#! CrunchBanger
From: Winnipeg, MB Canada
Registered: 2009-07-08
Posts: 181

Re: Wipe/shred scripts

#!/bin/bash
#  yada yada
cd ~/.local/share/Trash/files
ls -a
wipe -qrc *
cd ~/.local/share/Trash/info
ls -a
wipe -qrc *
# badabing

and I have another one for old  /media/linuxbackup/.Trash-1000/files    + info        for usb hdd


Jean Vanier wrote "Being Human" and "A Short History of Progress" by Ronald Wright.  Gotta love the Massey Lectures.

Offline

#4 2013-06-22 18:36:19

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: Wipe/shred scripts

^ I'm curious -- why do you "ls" immediately before the wipe? So you can see what you'll never be able to get back? smile

DapperMe17, you should be aware that none of these shred/wipe utilities work perfectly if you are using a journaled file system. For better security you should really encrypt the drive (or at least use an encrypted volume for sensitive data).

Offline

#5 2013-06-23 03:44:23

DapperMe17
#! CrunchBanger
From: Todd's Gang
Registered: 2012-10-19
Posts: 219

Re: Wipe/shred scripts

Great info lads...

Thanks much for your input so far.

glasses

Offline

#6 2013-06-23 17:22:23

paxmark1
#! CrunchBanger
From: Winnipeg, MB Canada
Registered: 2009-07-08
Posts: 181

Re: Wipe/shred scripts

ls -a  ?  Just to see what I am about to wipe before I input "yes"
Also I don't mind occasionally seeing when Trash is empty

.  ..
*: fatal: could not lstat: No such file or directory
.  ..
*: fatal: could not lstat: No such file or directory

Jean Vanier wrote "Being Human" and "A Short History of Progress" by Ronald Wright.  Gotta love the Massey Lectures.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo