bstnbuck / VShred

A simple tool to securely delete files and directorys, implemented in V.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VShred

Build Status License: MIT

A simple tool to securely delete files and directories, implemented in V.

Requirements

Usage

  • 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]

What it is and how to use it

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.

Usage

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.
  • --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

About

A simple tool to securely delete files and directorys, implemented in V.

License:MIT License


Languages

Language:V 100.0%