From fec4de7b2778d64db4b3982ba8782fa6224fc18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Wed, 1 Feb 2023 11:58:48 +0400 Subject: [PATCH] docs: readme update examples --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d3b0847..6ca29e6 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,6 @@ Usage: Examples: -Overwrite log files as well as those found by path /db/*.log -covermyass --write -p /db/*.log - Overwrite log files 5 times with a final overwrite with zeros to hide shredding covermyass --write -z -n 5 @@ -81,7 +78,7 @@ Flags: First, run an analysis. This will not erase anything. -```bash +```shell $ covermyass Loaded known log files for linux @@ -99,7 +96,9 @@ Found 4 files (4 read-write, 0 read-only) in 27ms When you acknowledged the results, erase those files. -```bash +```shell +$ whoami +root $ covermyass --write -n 100 Loaded known log files for linux @@ -121,7 +120,7 @@ Successfully shredded 4 files 100 times Filter out some paths : -```bash +```shell $ covermyass -f '/foo/**/*.log' -f '/bar/foo.log' ```