Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/shred Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# shred
> Overwrite files to securely delete data.
> More information: <https://www.gnu.org/software/coreutils/shred>.
- Overwrite a file:
`shred {{path/to/file}}`
- 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}}`
- Overwrite a file a specific [n]umber of times:
`shred --iterations {{25}} {{path/to/file}}`
- Overwrite a file and remove it:
`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}}`