Options (5)
-v, --verbosebooleanOverwrite a file and show progress on the screen
Example:
shred {{[-v|--verbose]}} {{path/to/file}}-z, --zerobooleanOverwrite a file, leaving zeros instead of random data
Example:
shred {{[-z|--zero]}} {{path/to/file}}-n, --iterationsbooleanOverwrite a file a specific number of times
Example:
shred {{[-n|--iterations]}} {{25}} {{path/to/file}}-u, --removebooleanOverwrite a file and remove it
Example:
shred {{[-u|--remove]}} {{path/to/file}}booleanOverwrite a file 100 times, add a final overwrite with zeros, remove the file after overwriting it, and show verbose progress on the screen
Example:
shred {{[-vzu|--verbose --zero --remove]}} {{[-n|--iterations]}} 100 {{path/to/file}}Examples (6)
Overwrite a file
shred path/to/fileOverwrite a file and show progress on the screen
shred [-v|--verbose] path/to/fileOverwrite a file, leaving zeros instead of random data
shred [-z|--zero] path/to/fileOverwrite a file a specific number of times
shred [-n|--iterations] 25 path/to/fileOverwrite a file and remove it
shred [-u|--remove] path/to/fileOverwrite a file 100 times, add a final overwrite with zeros, remove the file after overwriting it, and show verbose progress on the screen
shred [-vzu|--verbose --zero --remove] [-n|--iterations] 100 path/to/filemade by @shridhargupta | data from tldr-pages