Questions tagged [shredding]

Shred is a GNU tool, which is available by default on Ubuntu. It overwrites files content with random data.

shred is part of the GNU coreutils package. It overwrites files with random data, to obstruct file recovery attempts that bypass the file system layer.

29 questions
35
votes
8 answers

How to shred a folder?

I want a command to shred completely the contents of a folder/directory (which may be inside folders/directories). Also please explain the command.
Ashu
  • 9,642
23
votes
2 answers

How to securely wipe files from SSD drive?

When trying to securely wipe SSDs, we have several problems: SSDs wear out after a limited amount of erase cycles SSDs have a controller that dynamically maps LBAs (logical block addresses used by the system to access the disk) to NVRAM cells (the…
Byte Commander
  • 110,243
14
votes
1 answer

Disabling Journaling in Ubuntu 14.04?

I installed Xubuntu (sometimes running Cinnamon, but I digress) and would like to disable journaling in order to make file-shredding the ext4 system partition more effective (non-system/app data is on an NTFS partition). How can this be…
Utnubu
  • 143
6
votes
1 answer

Is there a way to add shred to right-click menu?

BleachBit lets you shred either folders or files if you use the menu from within the program but is it possible to add a shred option to the menu when you right click on a file or folder that you may want to delete? I didn't see anything from within…
gman
  • 2,324
5
votes
3 answers

GUI program to shred or wipe files with options to make sure they are unrecoverable?

I have a quick question about file shredding. Is there any application with graphical interface capable of shredding files and folders? I know bleachbit has that feature but there are no options or configurations and I really can't know if the…
Neptunno
  • 2,254
  • 5
  • 25
  • 41
5
votes
2 answers

Halt the 'shred' command in bash script if it encounters errors

I have a workstation that we have set up to sanitize multiple hard drives. I run a script that detects the hard drives and then runs the 'shred' command on each one. The problem is, if any of the hard drives fail (where Ubuntu no longer sees the…
4
votes
2 answers

How can I shred all disks but /dev/sda and log the output to a file?

I'm trying to make one command that will take all drives that are not sda and run shred on them and dump the output to a log file. So far I have find /dev/ -name "sd?" -not -name "sda" -exec [shred -fvz {} >…
4
votes
1 answer

I need a zenity progress bar using the output of shred

I want to use the output of shred to make a progress bar with zenity. My shred command looks like this. sudo shred -vfn 1 /dev/sda I am new to Linux. So I probably miss an obvious solution.
3
votes
1 answer

Application integration with Unity launcher

I like to integrate a application (a digital shredder, a interface for shred command) to allow drag-and-drop files from Nautilus to launcher icon and then open the program and fill the file path field. This is possible? I guess I need some code. The…
3
votes
3 answers

How to securely delete/wipe out a hard disk so it's hard to recover data?

as I am new Linux user I don't really know yet where's path to my disk, so therefore also I don't know how to wipe out data from it. As I mentioned I would need something that will wipe out a hard disk, so I did a bit of googling and I found out…
str1ng
  • 165
2
votes
2 answers

Using Shred to remove files on SSD - will this affect the lifespan of the disk?

I always remove files from my machine using sudo rm -rf file, and today I found that shred does a better job in terms of preventing files from being recovered later. My question is: I have an SSD only in my machine, and I'd like to know if removing…
2
votes
1 answer

shred multiple hard drives

I have a bunch of disks needing shredding. I also have 6 ports for hard drives on my PC. Shred, even running with brief options takes a while. I read the manpage for shred, but I saw no way to shred multiple hard drives concurrently. Is there an…
j0h
  • 15,365
2
votes
0 answers

Force all deletes to be secure

I have setup an Ubuntu Server for my university project. Aside from full disk encryption I also intend to use Dafturn Ofris (a Linux deepfreeze) to make file recovery difficult or for any forensics carried out. Is there a way I could change system…
1
vote
1 answer

Does dd or shred do any harm to the physical media of a hard disk?

Does dd or shred commands only overwrite the data and the filesystem or do they change or modify the physical media of the hard disk? Because I know that I can format a hard disk millions of times without doing any harm to the media, but does using…
Mudit Kapil
  • 2,081
1
vote
2 answers

not what I expected from shred - help to interpret output

I have a windoz xp disk that got infected by a virus, a particularly nasty one that hides in a gazillion places and 'activates' on many actions including plugging in any usb device, file writes, etc. I want to completely erase the files, not just…
1
2