From 0ba3d485bbadff6a4ab5e1bb177ef775810c20e0 Mon Sep 17 00:00:00 2001 From: OrginalS <36825453+OrginalS@users.noreply.github.com> Date: Mon, 11 Dec 2023 22:12:01 +0100 Subject: [PATCH] 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. --- pages/common/shred.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pages/common/shred.md b/pages/common/shred.md index 709ab032a2..916b6b67d8 100644 --- a/pages/common/shred.md +++ b/pages/common/shred.md @@ -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}}`