Questions tagged [shred]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
131 views

Quicker alternative to Linux Wipe Command for secure deletion

I am fairly new to Linux but all I can say is I love it!!! :D Anyways, I am trying to securely erase 1000s of files from my harddrive because new year is approaching and I want a fresh start to life. ...
-1
votes
1answer
69 views

CLI Linux with “shred” command

I am trying to find an OS that I can boot from my USB stick without further installation. I tried Tinycore but sadly I just couldnt save the Package "Coreutils" on it, so I had to reinstall it ...
0
votes
0answers
44 views

To shred recursively, sorting alphanumerically

I want to shred permanently and recursively, but sorting firstly numerically and then alphabetically. The command shredded in wrong order/sort, for example: shred: ./browser/tabwidget/tabwidget.cpp: ...
1
vote
0answers
61 views

How to wipe a partition quickly with value zero? [duplicate]

I want to wipe a partition quickly.I search the answer in website. such as: dd if=/dev/zero of=/dev/sda1 bs=16M count=96 shred -v -z -n 1 /dev/sda1 But: All the commandline,will overwrite with ...
0
votes
2answers
148 views

What does it mean to overwrite a file but keep it?

The wipe tool has the option -k Keep files, i.e. do not remove() them after overwriting. What does that mean not to remove a file that was ... well... wiped?
0
votes
2answers
2k views

If I shred /dev/sda, do I delete partitions?

If I am wiping my /dev/sda harddrive, do I need to first repartition it (for example, with GParted), or will shred /dev/sda wipe the partition table too?
0
votes
2answers
351 views

Is the Secure Erase desired after the shred command? If so, how to do it properly?

I am about to sell a bunch of hard drives (not an SSHD or an SSD, all are normal HDDs). As I wanted to overwrite it literally 10 times, I was unsure how to execute a pure pv overwrite * 10, so I came ...
2
votes
0answers
3k views

External Drive Recognized by `ls dev` but “no medium found”

I am trying to shred an old external hard drive using Linux Mint 17 (an Ubuntu-based distro) and a Vantec IDE/SATA to USB 3.0 adapter. The system recognizes the presence of the drive. Here is the ...
1
vote
1answer
279 views

Making a Deleted folder Impossible to Recover [duplicate]

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 ...
4
votes
1answer
186 views

How secure is data removal with rm followed by zerofree on the partition?

Instead of using srm, wipe or shred, one may simple unlink the file and run zerofree on the involved partition: mount /dev/sda1 /mnt rm /mnt/confidential_file umount /mnt zerofree /dev/sda1 How safe ...
4
votes
3answers
3k views

Secure delete folder CentOS 7

How do I securely delete a folder, with all of its contents, so it cannot be recovered? I have tried the shred command but it only works with files and not folders. I have also found out that there ...
0
votes
1answer
208 views

SMART test passed but I can see Hard Disk Broken Sectors in Disk Assesment

I have used shred on my HDD, but in the middle of that, I used Ctrl+C combination accidentally. After that I noticed bad sectors on Disk Assessment. I am using Linux mint 18 as my OS. Using fsck, I ...
5
votes
1answer
2k views

How to securely delete data after rm

I deleted a file I meant to shred first. $ rm somefile instead of $ shred somefile $ rm somefile Is there a way to shred a file after 'rm'-ing it?
1
vote
1answer
88 views

Wipe files from an external hard drive but not empty space

I'm using the following command to wipe an external drive. sudo shred -v -z -n 1 /dev/sdb Is it possible to wipe an external drive of the files and not empty space? So it would overwrite where there ...
2
votes
1answer
1k views

data recovery after partial shred

well i issued the following command: shred -v /dev/sdb. However I wanted to shred /dev/sda. I realized my mistake after about 2gb had been shredded (out of 2.7tb raid volume). what is the ...
1
vote
2answers
1k views

Automatically shred LUKS partition upon X failed decryption attempts?

Is it possible to set up a bootloader that automatically begins shredding the header.img file and then the encrypted partition itself upon X failed attempts at decrypting the partition? If this does ...
1
vote
2answers
665 views

How to delete the whole root with rm rf and shred together?

My task is simple: I need to able to delete the whole root which i can do with rm-rf ./* but the problem here is HFS recovery can get back the data since it is not actually deleted from disk if i ...
2
votes
2answers
221 views

Did I unintentionally delete my entire hard drive?

A while ago I backed up a Linux folder onto a Windows disk drive I had lying around. Recently I was scanning through those files when I realized that I had unintentionally copied over many unwanted ...
2
votes
1answer
580 views

What can I (not) shred from root while it is mounted?

I am performing a test migration from old server to new one. Part of the procedure involves cleaning up the old server of any traces of passwords, php scripts and custom configurations while remotely ...
5
votes
3answers
2k views

How to securely delete a directory without leaving a trace?

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 ...
2
votes
3answers
348 views

How can I shred a git repository, reasonably fast?

I'm interested in accurately removing a git repository in a reasonable time. But it takes quite a while to do so. Here, I have a small test repo where the .git folder is < 5MiB. $ du -ac ~/tmp/....
2
votes
2answers
245 views

Shredding an external HDD

How do I shred the data on an external HDD? I am trying shred "/media/me/New Volume/" but I get failed to open for writing: Is a directory. Why?
7
votes
3answers
914 views

Effectivity of shred on different file systems

man shred warns that the command is not useful on file systems that don't overwrite in-place. I don't have much knowledge about the current and upcoming file systems, but I would suspect that many of ...