Using wipe in Linux

wipe – utility for secure full erasing of information.

Install command in Linux Ubuntu/Debian:

sudo apt-get install wipe

I will describe some startup keys:
-f Disable confirmation requests.
-r Recursively Removes all subdirectories, symbolic links are not touched.
-c If the rights of the directory are read-only, then they will be changed to write.
-i Detailed information mode.
-s Quiet mode, most messages are not displayed.
-q Fast mode, directories are overwritten with random data 4 times.
-Q The number of rewrite cycles. Standard 4.
-a Stop execution on error.
-R Install a random device.
-l Specify the size of the device block, for example when using floppy disks, etc.
-D Follow symbolic links, they don’t get touched by default.
-v Displays the version of the program.
-h Display help.

I will give examples of starting:

sudo wipe -rcf /dir/dir
sudo wipe /dev/part
sudo wipe -rfi >wipe.log /var/log/*

See also my article:
Shredding data with Shred

Leave a comment

Leave a Reply