mirror of
https://codeberg.org/scip/gowipe.git
synced 2025-12-16 20:20:58 +01:00
simplified verbose output and enhanced readme.
This commit is contained in:
45
README.md
45
README.md
@@ -5,6 +5,51 @@
|
||||
[](https://goreportcard.com/report/github.com/tlinden/gowipe)
|
||||
[](https://github.com/TLINDEN/gowipe/releases/latest)
|
||||
|
||||
## Description
|
||||
|
||||
`gowipe` is a simple self contained tool to securely wipe files and
|
||||
directories. By default it renames and overwrites files and
|
||||
directories 30 times and uses the `secure` mode, which uses strong
|
||||
random bytes for the overwriting process. Gowipe writes as much bytes
|
||||
into a file as its original size.
|
||||
|
||||
You can tweak mode and round numbers. Other modes are `zero`, which
|
||||
uses zeroes for overwriting (not recommended) or `encrypt` which
|
||||
encrypts the data using AES and a strong random key. This is the most
|
||||
secure but also to slowest mode.
|
||||
|
||||
Although you can use `gowipe` on SSD disks, it doesn't make much
|
||||
sense. To wipe such a disk you have to resort to other means. But you
|
||||
can savely use it on magnetic discs or usb drives.
|
||||
|
||||
Of course there are many other such tools available, this one is
|
||||
insofar special as you can download a pre-compiled binary without any
|
||||
library dependencies. This allows you to wipe files on systems, where
|
||||
you cannot install a wiper via some package management (such as
|
||||
appliance systems or vm's).
|
||||
|
||||
## Example
|
||||
|
||||
Overwrite the directory `vhs` recursively 50 times using strong
|
||||
encryption and verbose output:
|
||||
|
||||
```shell
|
||||
gowipe -c 50 -E -r -v vhs
|
||||
Wiped vhs/help.png (355011 bytes)
|
||||
Wiped vhs/rec.Dockerfile (348 bytes)
|
||||
Wiped vhs/rec.gif (3533338 bytes)
|
||||
Wiped vhs/rec.tape (852 bytes)
|
||||
Wiped vhs (4096 bytes)
|
||||
|
||||
Dirs wiped: 1
|
||||
Files wiped: 5
|
||||
Bytes deleted: 3889549
|
||||
Time elapsed: 426.286639ms
|
||||
Overwritten: 50 times
|
||||
Wipe mode: encrypt
|
||||
Recurse dirs: true
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
Usage: gowipe [-rcvz] <file|directory>...
|
||||
|
||||
Reference in New Issue
Block a user