mirror of https://github.com/CrimsonTome/tldr.git
shred: update page (#11724)
* shred: update page Added -v option. Changed --zero to -z to better match the format of other options. Added final example combining all of the other options. --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>pull/23/head
parent
c5508a288e
commit
7bc6b57f5d
|
@ -7,14 +7,22 @@
|
||||||
|
|
||||||
`shred {{path/to/file}}`
|
`shred {{path/to/file}}`
|
||||||
|
|
||||||
- Overwrite a file, leaving zeroes instead of random data:
|
- Overwrite a file and show progress on the screen:
|
||||||
|
|
||||||
|
`shred --verbose {{path/to/file}}`
|
||||||
|
|
||||||
|
- Overwrite a file, leaving [z]eros instead of random data:
|
||||||
|
|
||||||
`shred --zero {{path/to/file}}`
|
`shred --zero {{path/to/file}}`
|
||||||
|
|
||||||
- Overwrite a file 25 times:
|
- Overwrite a file a specific [n]umber of times:
|
||||||
|
|
||||||
`shred -n25 {{path/to/file}}`
|
`shred --iterations {{25}} {{path/to/file}}`
|
||||||
|
|
||||||
- Overwrite a file and remove it:
|
- Overwrite a file and remove it:
|
||||||
|
|
||||||
`shred --remove {{path/to/file}}`
|
`shred --remove {{path/to/file}}`
|
||||||
|
|
||||||
|
- Overwrite a file 100 times, add a final overwrite with [z]eros, remove the file after overwriting it and show [v]erbose progress on the screen:
|
||||||
|
|
||||||
|
`shred -vzun 100 {{path/to/file}}`
|
||||||
|
|
Loading…
Reference in New Issue