-u, --remove
Deallocate and remove file after overwriting; -u is --remove=wipesync, and HOW may be unlink, wipe or wipesync.
An option of shredx.
Usage
shredx -u FILE...
shredx --remove[=HOW] FILE...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-u | --remove | HOW (optional) | deallocate and remove file after overwriting; -u is --remove=wipesync, and HOW may be unlink, wipe or wipesync |
Examples
Overwrite a secret file and delete it, showing each pass
shredx -v -u secrets.txtshredx: secrets.txt: pass 1/3 (random)...
shredx: secrets.txt: pass 2/3 (random)...
shredx: secrets.txt: pass 3/3 (random)...
shredx: secrets.txt: removing
shredx: secrets.txt: renamed to 00000000000
...
shredx: secrets.txt: removedShred a read-only key file
shredx -f -u id_ed25519Help in the terminal
gnux help shredx --remove