Skip to content

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

License

Notifications You must be signed in to change notification settings

bstnbuck/VShred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages