Update shred.md

Added -v option.
Changed --zero to -z to better match the format of other options.
Added final example combining all of the other options.
This commit is contained in:
OrginalS 2023-12-11 22:12:01 +01:00 committed by GitHub
parent cc4907814e
commit 0ba3d485bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,13 @@
`shred {{path/to/file}}`
- Overwrite a file, leaving zeroes instead of random data:
- Overwrite a file and show progress on the screen:
`shred --zero {{path/to/file}}`
`shred -v {{path/to/file}}`
- Overwrite a file, leaving zeros instead of random data:
`shred -z {{path/to/file}}`
- Overwrite a file 25 times:
@ -17,4 +21,8 @@
- Overwrite a file and remove it:
`shred --remove {{path/to/file}}`
`shred -u {{path/to/file}}`
- Overwrite a file 100 times, add a final overwrite with zeros, remove the file after overwriting it and show progress on the screen:
`shred -vzun100 {{path/to/file}}`