A simple tool to securely delete files and directories, implemented in V.
- Installed V-Compiler
- Clone the repository:
git clone https://github.com/bstnbuck/VShred.git
- Compile the source code with:
v -cc [tcc][msvc][gcc] -prod vshred.v
- Run it:
vshred [--dir] [-d] [--dir_name "dir-name"] [--file_name "file-name"] [--rounds some-int] [--continue] [--no_output] [--yes] [-y]
VShred is a simple tool to safely delete files and entire directories. The installed removal tools in Windows and Linux (e.g. rm) only delete the connection to the OS, but not the content. This tool writes random content to the file and that several times. After that the file will be renamed and deleted so the file can no longer be reconstructed.
Options:
- --dir -d
- secure delete whole directory
- --dir_name "string"
- name of the directory, which should be recursively shredded. No empty directories! Needs
--dir -d
flag.
- name of the directory, which should be recursively shredded. No empty directories! Needs
- --file_name "string"
- secure delete a file
- --rounds <some-int>
- define how often the file should be overridden
- --continue
- continue if an error occurs
- --no_output
- show less output
- --yes -y
- no checkbacks
- --help -h
- show help