I have a directory tree that I would like to shred with the Linux 'shred' utility. Unfortunately, shred has no -R option for recursive shredding.
How can I shred an entire directory tree recursively?
I have a laptop with Debian on it, and I am going to sell this laptop.
Would it suffice to erase the Debian installation before selling it to completely clean up my laptop from my personal data, and if yes how can I uninstall Debian (so that there…
I know that most files, when deleted, aren't actually removed from the disk, and can be recovered later.
How can I ensure that a directory I had deleted will actually be removed from the disk? Are there utilities for that?
I'm using Debian Linux.
I'm running Debian and need a way to format the entire hdd in order to not leave any trace on it because I want to donate it to a friend. So what will be the best way in order to format it? If I reinstall the OS it will not fully format it. I'm…
I have a Godaddy dedicated server that I would like to cancel. Before I do that I'd like to do a clean format on the server to make sure that the next person who gets the server isn't able to undelete anything (I don't know how thorough Godaddy is…
I have a SSD drive with LUKS encrypted partition. How to discard all data with one command? Or damage it to non-recoverable state? Even if partition is in use.
In modern file systems (and on modern SSDs) there is no guarantee that if you write over a file using a traditional utility (such as dd) that the data will be overwritten in-place and journaled backups destroyed. As a result, the data could…
I already know that using shred will overwrite my files in such a way that leaves them unrecoverable. However shred can't be used to hide directories.
Error Message:
failed to open for writing: Is a directory
I can't use hard-drive…
Suppose you visit a bad location on earth with your laptop.
Thieves are about to break in and steal your laptop.
So you run :
rm -rf /folder
but what if thieves have very advanced tools to recover deleted files ?
perhaps as advanced as FBI / CIA…
I have a BTRFS filesystem in an LVM logical volume, which exists inside of a LUKS disk. For reference's sake, let's call the LV lvm-root, and the LUKS disk crypt-root, and the BTRFS filesystem fs-root. It looks like this:
/dev/sda3:…
I want to use dd to overwrite a disk multiple times to destroy data beyond recovery.
I know I could use dd if=/dev/zero/ of=/dev/sdx/ to do a pass with zeros, or dd if=/dev/null/ of=/dev/sdx/ to accomplish similar (not exact same) result, but it…
Is the following a secure way of shredding files in *NIX systems:
shredder.sh
#!/bin/bash
# Define number of rewrites
COUNT=20
# Define file size
FILE_SIZE=`wc -c < "$1"`
# Begin rewriting file
while [ $COUNT -ge 0 ]
do
# Write random data to…
Lets assume I have a virtual machine and no access to the hypervisor in any way. Also I cannot change any system parameters like setting up password protected booting with LUKS or anything. I can however install whatever tools I'd like and have full…